Hi,

PURL and language prefix doesnt work together, it return page not found. It seems like PURL always ask for $_REQUEST['q'] and include/language.inc (which manages language prefix) just works on $_GET, so PURL doesnt see what include/language.inc does.

I've created a patch for include/language.inc, but maybe the best solution is patch PERL.

Thanks!

DRUPAL 6.13
PERL 6.x-beta4

--
José Sánchez.
www.deviancefactory.com

CommentFileSizeAuthor
language.patch716 bytesruloweb

Comments

ruloweb’s picture

Status: Active » Needs review

Status chenged, sorry.

--
José Sánchez.
www.deviancefactory.com

ekes’s picture

+1 for the problem; but I'm unsure about the solution though.

What's the thing with $_REQUEST['q'] in PURL rather than $_GET?
What's thought's of the maintainers about PURL taking over the /$lang/ handling as well?

yhahn’s picture

Status: Needs review » Fixed

Language prefix handling should now work - PURL won't take over the language prefix but will more or less live alongside it in parallel.

I've committed tests for so let me know if you find any other issues.

http://drupal.org/cvs?commit=324702

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.