This project is archived and is in readonly mode.

#5690 ✓resolved
gucki

[] should be escaped in urls

Reported by gucki | September 23rd, 2010 @ 04:19 PM | in 3.1

using rails3 and html5, user_path(:hash => {:a => 1}) outputs "/users?has[a]=1". this causes w3c validator errors, because [] (and possibly a few more special chars) have to be escaped in urls.

error message: Characters should be represented in NFC and spaces should be escaped as %20.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages