Skip Menu |

This queue is for tickets about the SVN-Web CPAN distribution.

Report information
The Basics
Id: 19093
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: Nobody in particular
Requestors: gbloice [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.46
Fixed in: (no value)



Subject: BUG - Handling of URL's with spaces
OS: Windows Server 2003. Perl: ActiveState Perl (817) 5.8.8 SVN::Web 0.46 via CPAN When repo URL's have spaces, SVN::Web doesn't urlunescape them before passing them onto SVN. To fix this I added a urlunescape subroutine: sub urlunescape { my $res = shift; $res =~ s/%([\dA-Fa-f][\dA-Fa-f])/pack("C",hex($1))/ge; return $res; } and called this in the assignment to the path member of $cfg in the subroutine run_cgi: path => urlunescape("/$path"),
On Fri May 05 06:25:01 2006, guest wrote: Show quoted text
> When repo URL's have spaces, SVN::Web doesn't urlunescape them before > passing them onto SVN.
Thanks. I've fixed this (using URI::Escape::uri_unescape()) in my copy, which will go in to the 0.47 release. You can see the changes at http://jc.ngo.org.uk/svnweb/jc/revision?rev=879.