Files
danbooru/config
evazion a653513e0a wiki pages: fix 404s for page titles containing dots.
Bug: links like these returned 404s:

* https://danbooru.donmai.us/wiki_pages/...
* https://danbooru.donmai.us/wiki_pages/.hack//
* https://danbooru.donmai.us/wiki_pages/ssss.gridman

Cause: by default, Rails uses dots in route segments to separate the id
from the format. For example, in /wiki_pages/ssss.gridman, the id is
parsed as "ssss" and the format is "gridman" (as if "gridman" were a
format like "json" or "xml").

We work around this by specifying the regex for the id param manually.
The trick here is to use a non-greedy match-all combined with a positive
lookahead to detect the extension but not include it in the match.
2019-11-05 15:14:08 -06:00
..
2019-08-27 18:13:30 -05:00
2018-08-05 18:30:25 -05:00
2019-10-14 13:50:31 -05:00
2019-08-27 18:13:30 -05:00
2018-04-06 18:09:57 -07:00
2017-01-24 14:32:06 -08:00
2017-01-24 14:32:06 -08:00