Committer: vsukhanov
LJSV-1187: fix uri escaping.U trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm =================================================================== --- trunk/cgi-bin/LJ/S2.pm 2010-09-02 07:16:24 UTC (rev 17264) +++ trunk/cgi-bin/LJ/S2.pm 2010-09-02 08:42:00 UTC (rev 17265) @@ -4233,7 +4233,9 @@ sub Image__set_url { my ($ctx, $img, $newurl) = @_; - $img->{'url'} = LJ::eurl($newurl); + require URI; + my $uri = new URI($newurl); + $img->{'url'} = $uri->as_string; } sub ItemRange__url_of