#19 ✓resolved
Fabrice Luraine

url_for() stil buggy

Reported by Fabrice Luraine | July 30th, 2009 @ 05:25 PM | in Release 0.4 - Fresh Mint And Ginger

When your in your root url, there is no ending ? or index.php in your url: url_for() produces malformed urls with no ? or index.php between the base_path and the path... resulting a 404 error...

Needs to provide a base_path() function (or something like that) to be ok with paths and urls in many cases:

  • with or without url rewriting
  • in a subdirectory or directly in the DOCUMENT_ROOT
  • at the root app path '/'
  • with /?/my_path
  • with /index.php/my_path
  • with /index.php?/my_path
  • with /?/my_path
  • with /?uri=/my_path
  • with /?u=/my_path

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