You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have migrated some older ASPX sites to Piranha and have defined a lot of aliases. After a few weeks running we detected many 404 errors, although aliases were defined for the requested URLs. The reason for this is the different case sensitivity of the requested URLs.
With cache turned on, the alias lookup is always case sensitive (direct comparison). Without cache it depends on the database (i. e. collation on SQLServer).
Example:
Alias: /public/support.aspx -> /support
Request 1: /public/support.aspx -> redirected
Request 2: /public/Support.aspx -> 404 Not Found
The different case sensitivity of old URLs is due to historical reasons. It is also possible for users to enter a URL manually in the browser and save it as a favorite. The case sensitivity is then undefined.
What do you think? Thank you.
The text was updated successfully, but these errors were encountered:
Hello,
we have migrated some older ASPX sites to Piranha and have defined a lot of aliases. After a few weeks running we detected many 404 errors, although aliases were defined for the requested URLs. The reason for this is the different case sensitivity of the requested URLs.
With cache turned on, the alias lookup is always case sensitive (direct comparison). Without cache it depends on the database (i. e. collation on SQLServer).
Example:
Alias: /public/support.aspx -> /support
Request 1: /public/support.aspx -> redirected
Request 2: /public/Support.aspx -> 404 Not Found
The different case sensitivity of old URLs is due to historical reasons. It is also possible for users to enter a URL manually in the browser and save it as a favorite. The case sensitivity is then undefined.
What do you think? Thank you.
The text was updated successfully, but these errors were encountered: