diff options
author | David Shaw <[email protected]> | 2003-01-23 02:50:47 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-01-23 02:50:47 +0000 |
commit | ac6468d89159244eff42b66e5f1c19fb1e1daf40 (patch) | |
tree | 6cd613e8e99313748460c5c59eb9348f194d721a | |
parent | * g10.c (add_group): Trim whitespace after a group name so it does not (diff) | |
download | gnupg-ac6468d89159244eff42b66e5f1c19fb1e1daf40.tar.gz gnupg-ac6468d89159244eff42b66e5f1c19fb1e1daf40.zip |
* gpgkeys_mailto.in: Fix regexp to work properly if the "keyid" is not a
keyid, but rather a text string from the user ID.
-rw-r--r-- | keyserver/ChangeLog | 5 | ||||
-rwxr-xr-x | keyserver/gpgkeys_mailto.in | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index defe989f0..bb445c04f 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,8 @@ +2003-01-22 David Shaw <[email protected]> + + * gpgkeys_mailto.in: Fix regexp to work properly if the "keyid" is + not a keyid, but rather a text string from the user ID. + 2002-11-04 David Shaw <[email protected]> * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly diff --git a/keyserver/gpgkeys_mailto.in b/keyserver/gpgkeys_mailto.in index 9086de419..4e48ba479 100755 --- a/keyserver/gpgkeys_mailto.in +++ b/keyserver/gpgkeys_mailto.in @@ -44,7 +44,7 @@ while(<STDIN>) { last if($_ eq "\n"); - if(/^COMMAND (\w+)/) + if(/^COMMAND (\S+)/) { $command=$1; } @@ -59,7 +59,7 @@ while(<STDIN>) $program=$1; } - if(/^OPTION (\w+)/) + if(/^OPTION (\S+)/) { if($1=~/^verbose$/i) { @@ -175,7 +175,7 @@ if($command=~/send/i) while(<STDIN>) { - if(/^KEY (\w+) BEGIN$/) + if(/^KEY (\S+) BEGIN$/) { $key=$1; last; @@ -184,7 +184,7 @@ if($command=~/send/i) while(<STDIN>) { - if(/^KEY \w+ END$/) + if(/^KEY \S+ END$/) { last; } |