This project is archived and is in readonly mode.

#3518 ✓wontfix
Bruno Michel

Link_to doesn't escape its input

Reported by Bruno Michel | November 29th, 2009 @ 02:16 PM | in 3.0.2

Hi,

The link_to helper doesn't escape its first argument.

Ryan Bates has made a bug report on github for the Rails-XSS plugin (http://github.com/NZKoz/rails_xss/issues#issue/1), but I think that this problem should be fixed in Rails itself. I've attached a patch to this ticket.

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>

Attachments

Tags

Pages