FYI

-------- Original Message --------
Subject: [rt.cpan.org #18140] Syntax error with mod_perl and mod_rewrite,
Apache::Registry
Date: Mon, 13 Mar 2006 07:06:33 -0500 (EST)
From: Guest via RT <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: undisclosed-recipients:;
References: <[EMAIL PROTECTED]>


Mon Mar 13 07:06:32 2006: Request 18140 was acted upon.
Transaction: Ticket created by guest
       Queue: mod_perl
     Subject: Syntax error with mod_perl and mod_rewrite, Apache::Registry
       Owner: Nobody
  Requestors: [EMAIL PROTECTED]
      Status: new
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=18140 >


We use Apache::Registry and mod_rewrite.
We give it url http://host/dir/%3F%09 than we get 500 error: [error]
syntax error at (eval 24) line 1, near "package
Apache::ROOTbf_2ehost_2edomain::bla::bla::_3f_ 9_"\n. There is a space
beetween '_' and '9'.
The bug is in line:
script_name =~ s/([^A-Za-z0-9_\/])/sprintf("_%2x",unpack("C",$1))/eg;
 (line 84). It converts bytes to hex and do not add leading zeroes. We
shoud changethis tile to
script_name =~ s/([^A-Za-z0-9_\/])/sprintf("_%02x",unpack("C",$1))/eg;
This fixes the problem, I think.
Please apply.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to