From 0b7df656e6257477c0ce936c4295c7be0565ab6d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 2 Feb 2011 11:04:50 +0100 Subject: [PATCH] Doppelpunkte in URLs escapen --- SL/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Form.pm b/SL/Form.pm index 6b1ee5009..f9dc3dd59 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -378,7 +378,7 @@ sub escape { my ($self, $str) = @_; $str = Encode::encode('utf-8-strict', $str) if $::locale->is_utf8; - $str =~ s/([^a-zA-Z0-9_.-])/sprintf("%%%02x", ord($1))/ge; + $str =~ s/([^a-zA-Z0-9_.:-])/sprintf("%%%02x", ord($1))/ge; $main::lxdebug->leave_sub(2); -- 2.20.1