jgm / jgm/gitit

Bug in uploading an image file whose name contains a plus sign

Open
#511 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.3k
Forks
231
PR merge metrics
No merged PRs in 30d

Description

Hello,

I just uploaded an image file whose name contains a plus sign (e.g. A + B.png). I tried to show it in my wiki but it failed. Then I tried to directly access the image by typing the url in my browser, and it showed me the log as follows:

Happstack 7.4.4

Something went wrong here
Internal server error
Everything has stopped

The error was "Could not getWikiBase: (path, uri) = ("A + B.png","/A B.png")"

I think this bug is caused by unhandled plus sign. But I am not sure where the bug comes from (Happstack itself or the gitit).

Please check this issue. Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.