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.

Unable to use hash with url_for / redirect_to

#26

This might be a problem if you want to pass a hash location in your url. This is due by the fact we use rawurlencode() function that converts '#' in '%23'

This can be fixed by replacing this line in url_for()

if(!empty($v)) $paths[] = rawurlencode($v);

with

if(!empty($v)) $paths[] = str_replace('%23', '#', rawurlencode($v));

Reported by Fabrice Luraine · August 14th, 2009 @ 06:34 PM

State: resolved
Assigned to: Fabrice Luraine Fabrice Luraine

Activity

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.