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
Since we use citext, we already made sure that all queries hitting Sub.name are implicitly case-insensitive. This means we already made sure that territories with different cases cannot be created. But for some reason, the links are still case-sensitive.
For some reason, the sub resolver seems to not be case-insensitive. With the following patch, https://stacker.news/~psychedelics finds the sub but other queries seem to fail (since the dropdown does not reflect the sub we're in)
Description
Territories links are case-sensitive. This means that https://stacker.news/~Psychedelics works but https://stacker.news/~psychedelics does not.
Steps to Reproduce
Click on https://stacker.news/~psychedelics -> 404
Click on https://stacker.news/~Psychedelics -> 200
Expected behavior
Both links should work.
Additional context
Since we use
citext
, we already made sure that all queries hittingSub.name
are implicitly case-insensitive. This means we already made sure that territories with different cases cannot be created. But for some reason, the links are still case-sensitive.https://stacker.news/items/361271
The text was updated successfully, but these errors were encountered: