rails / journey

A router for rails
221 stars 57 forks source link

Utils escape functions don't handle URI's with % characters #70

Open swt2c opened 10 years ago

swt2c commented 10 years ago

The escape_path and escape_fragment functions don't escape URI's properly when the URI contains a % character. The % character should be escaped as %25. Otherwise, when dealing with a URI which contains %, Rails will fail with a Bad URI error.