Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

redirect_to() using & instead of &

#49

Because it uses url_for to construct url, it escapes & in &, so target url might be broken.

url_for is an html helper, so it's better to keep its output html escaped. The best solution will be to decode it before using it in redirect_to()

[Bug submitted in github: https://github.com/sofadesign/limonade/issues#issue/14]

Reported by Fabrice Luraine · January 31st, 2011 @ 07:22 PM

State: resolved
Milestone: none
Assigned to: Fabrice Luraine Fabrice Luraine

Activity

  1. Fabrice Luraine
    Fabrice Luraine

    We can use builtin htmlspecialchars_decode() for PHP5.1.x > but we'll write our own html special chars decode function for PHP5.0.x versions

    January 31st, 2011 @ 07:27 PM

  2. Fabrice Luraine

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.