gitit
gitit copied to clipboard
Error when creating a page with dot/period/fullstop in title
Creating a page with the title et. al.
and any content causes the following error
Happstack 7.4.6.1
Something went wrong here
Internal server error
Everything has stopped
The error was "IllegalResourceName"
It's a bug in jgm/filestore's isInsideDir
function. It just checks for ..
inside the strings, rather than making sure that it's not something like et. al..page
.
(And I just noticed that this is already mentioned in the comment above the function.)