minad / olelo

Wiki with git backend
MIT License
241 stars 44 forks source link

Error when creating pages with spaces in the name #3

Closed cout closed 14 years ago

cout commented 14 years ago

Steps to reproduce:

Result:

[2010-02-04 17:51:26] ERROR URI::InvalidURIError: bad URI(is not URI?): http://localhost:9454/Foo Bar /usr/lib64/ruby/1.8/uri/generic.rb:732:in merge' /usr/lib64/ruby/1.8/webrick/httpresponse.rb:164:insetup_header' /usr/lib64/ruby/1.8/webrick/httpresponse.rb:102:in send_response' /usr/lib64/ruby/1.8/webrick/httpserver.rb:79:inrun' /usr/lib64/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:162:instart' /usr/lib64/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib64/ruby/1.8/webrick/server.rb:95:instart' /usr/lib64/ruby/1.8/webrick/server.rb:92:in each' /usr/lib64/ruby/1.8/webrick/server.rb:92:instart' /usr/lib64/ruby/1.8/webrick/server.rb:23:in start' /usr/lib64/ruby/1.8/webrick/server.rb:82:instart' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/webrick.rb:14:in run' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb:155:instart' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/server.rb:83:in start' /usr/lib64/ruby/gems/1.8/gems/rack-1.1.0/bin/rackup:4 /usr/bin/rackup:19:inload' /usr/bin/rackup:19

The page is created correctly and can be accessed by clicking on it in the tree view.

cout commented 14 years ago
  1. Appologies for the incorrect markup. Those should be bullets, not italics.
  2. I see now that "New Page" is in the edit menu. My bad. The rest of the bug still stands.
minad commented 14 years ago

No problem with the markup. What was the problem with the menu?

minad commented 14 years ago

fixed. now works with webrick