ndmitchell / ndmitchell/hoogle
hoogle server don't unescape path.
Open
Nobody has claimed this yet.
fixed in v5
- Dominant language
- Haskell
- Stars
- 803
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Description
Situation.
- Document path contain space, less than, or the like.
- Hoogle was booted by command "hoogle server --local" .
- Search by hoogle on local server.
- Click item the link.
Result.
Server report "File not found".
Hoogle server looking for path that has not been unescaped.
For example, I search "Just".
http://localhost/file//c:/Program%20Files/Haskell%20Platform/2014.2.0.0/doc/html/libraries/base-4.7.0.1/Prelude.html#v:Just
%20 was not unescaped.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by running hoogle server --local, searching for Just, and opening the result URL shown in the report. Investigate the local server's handling of the encoded path, and consider the issue complete when paths containing %20, <, or similar characters load the referenced documentation instead of returning "File not found".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100