projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fededc5
)
Doppelpunkte in URLs escapen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 2 Feb 2011 10:04:50 +0000
(11:04 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 2 Feb 2011 10:04:50 +0000
(11:04 +0100)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
6b1ee50
..
f9dc3dd
100644
(file)
--- 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);