You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonathan Vanasco <jv...@2xlp.com> on 2007/04/15 23:43:45 UTC

Location Bug ?

I realized an issue with Location today:

$self->PageUser->ApacheRequest->headers_out->set( Location => 'http:// 
www.domain.com?a=b,c,d' )

will only return the location as
	http://www.domain.com?a=b

which makes sense as , is a reserved character

unfortunately, not all websites 'play by the rules' -- and will  
create urls with a , in it

can anyone suggest a way to force the ',' in a Location header ?

I don't want to do an url-encoded ',' because  i'm trying to preserve  
the original offsite encoding.