diff options
author | Rex Dieter <rdieter@math.unl.edu> | 2014-08-25 07:31:15 -0500 |
---|---|---|
committer | Rex Dieter <rdieter@math.unl.edu> | 2014-08-25 07:31:15 -0500 |
commit | 7cd846d62e17f36be2f7d29e56188ddf6a6d72cb (patch) | |
tree | 5cebbe6ae1cae099f87c312b28f48e1299788368 /scripts/xdg-email.in | |
parent | 34e033845ea6997bc4fdafd9bdd4856bfa5d0d36 (diff) |
xdg-email: do not encode - character
Diffstat (limited to 'scripts/xdg-email.in')
-rw-r--r-- | scripts/xdg-email.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xdg-email.in b/scripts/xdg-email.in index 4c3cb83..54de71f 100644 --- a/scripts/xdg-email.in +++ b/scripts/xdg-email.in @@ -226,7 +226,7 @@ result=$(echo "$str" | awk ' c = substr ($0, i, 1) if ( ord [c] > 127 ) { e = e "%" sprintf("%02X", ord [c]) - } else if ( c ~ /[@a-zA-Z0-9.-\\\/]/ ) { + } else if ( c ~ /[@a-zA-Z0-9.\-\\\/]/ ) { e = e c } else { e = e "%" sprintf("%02X", ord [c]) |