Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

/e was optional. Fix emacs.

  • Loading branch information...
commit 94efc29b6e9c3dd206229be01a182c66da4297a3 1 parent f86bd80
Gisle Aas authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 URI/Escape.pm
View
6 URI/Escape.pm
@@ -1,5 +1,5 @@
#
-# $Id: Escape.pm,v 3.1 1995/08/09 22:31:47 aas Exp $
+# $Id: Escape.pm,v 3.2 1995/08/10 13:44:59 aas Exp $
#
package URI::Escape;
@@ -47,11 +47,11 @@ sub uri_escape
{
my($text, $patn) = @_;
if ($patn){
- $text =~ s/([$patn])/$escapes{$1}/eg;
+ $text =~ s/([$patn])/$escapes{$1}/g;
return $text;
}
# Default unsafe characters. (RFC1738 section 2.2)
- $text =~ s/([\x00-\x20"#%;<>?{}|\\\\^~`\[\]\x7F-\xFF])/$escapes{$1}/g;
+ $text =~ s/([\x00-\x20"#%;<>?{}|\\\\^~`\[\]\x7F-\xFF])/$escapes{$1}/g; #"
$text;
}
Please sign in to comment.
Something went wrong with that request. Please try again.