summaryrefslogtreecommitdiff
path: root/tests/testweb/pics/chicken-logo.png
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2019-12-21 16:10:11 +0100
committerPeter Bex <peter@more-magic.net>2019-12-21 16:15:18 +0100
commit8c3da92b9a103a36dc69d78518f3d22cdc116246 (patch)
treed6261c67308cd95a07e9b51f8fd594bcd4d2e04b /tests/testweb/pics/chicken-logo.png
parentd25b44f31f97edfadcb894d67872eecfa4eb91c5 (diff)
downloadspiffy-8c3da92b9a103a36dc69d78518f3d22cdc116246.tar.gz
Properly encode paths in simple-directory-handler
The original simple-directory-handler would only html-encode paths to files. This is obviously completely bogus; the path strings need to get everything except slashes encoded. Without this change, paths containing spaces or brackets of any kind would result in links which caused the server to reject the request, because the resulting URI would be invalid. Browsers aren't always smart enough to properly encode all special characters (which makes sense, because they shouldn't mess with URIs, but they sometimes do, which means we never really noticed this). Also get rid of those ugly [] parenthesis synonyms and update copyright year.
Diffstat (limited to 'tests/testweb/pics/chicken-logo.png')
0 files changed, 0 insertions, 0 deletions