summaryrefslogtreecommitdiff
path: root/scripts/xdg-email.in
diff options
context:
space:
mode:
authorRex Dieter <rdieter@math.unl.edu>2014-08-25 07:31:15 -0500
committerRex Dieter <rdieter@math.unl.edu>2014-08-25 07:31:15 -0500
commit7cd846d62e17f36be2f7d29e56188ddf6a6d72cb (patch)
tree5cebbe6ae1cae099f87c312b28f48e1299788368 /scripts/xdg-email.in
parent34e033845ea6997bc4fdafd9bdd4856bfa5d0d36 (diff)
xdg-email: do not encode - character
Diffstat (limited to 'scripts/xdg-email.in')
-rw-r--r--scripts/xdg-email.in2
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])