ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

hoogle server don't unescape path. #83

Open SaitoAtsushi opened 10 years ago

SaitoAtsushi commented 10 years ago

Situation.

  1. Document path contain space, less than, or the like.
  2. Hoogle was booted by command "hoogle server --local" .
  3. Search by hoogle on local server.
  4. 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.