snowdriftcoop / snowdrift

Infrastructure for Snowdrift.coop. This is a MIRROR of https://gitlab.com/snowdrift/snowdrift. Your issue reports and merge requests are welcome, but they will be moved to gitlab.com. You are encouraged to start there instead!
https://snowdrift.coop
GNU Affero General Public License v3.0
92 stars 36 forks source link

Bad redirection #302

Closed pharpend closed 9 years ago

pharpend commented 9 years ago

If I type https://snowdrift.coop/p/snowdrift/w/en into my browser window, I am redirected to https://snowdrift.coop/p/snowdrift/w/en/en, which doesn't exist.

There's a larger issue here, where Yesod allows redirects to nonexistent places.

chreekat commented 9 years ago

This is probably related to the half-implemented wiki-page-title-translation thing. I don't know much about it, yet.

wolftune commented 9 years ago

Yes, precisely. /w/name redirects because we used to have pages with no language, so it addresses that. This case should probably be handled specially. It's similar to the fact that you can't make a page called "new" because new is how you make a new page — but we don't actively block that / handle the issue smoothly.