#26 ✓resolved
Fabrice Luraine

Unable to use hash with url_for / redirect_to

Reported by Fabrice Luraine | August 14th, 2009 @ 06:34 PM | in Release 0.4 - Fresh Mint And Ginger

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));

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

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

Limonade is a PHP micro-framework.

People watching this ticket

Referenced by

Pages