Skip to content

Commit

Permalink
Add 0-9 range to Key URI regexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
gareth-palmer committed Jun 22, 2021
1 parent 72ea150 commit 71abb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgiexecute
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def main():
url, priority = argument, 0

if not re.search(r'(?x) ^ (?: (?: Dial | EditDial) : [0-9#*]+'
r' | (?: Key | SoftKey | Init) : [a-zA-Z]+'
r' | (?: Key | SoftKey | Init) : [a-zA-Z0-9]+'
r' | Play : [a-zA-Z0-9._\-]+'
r' | Display : (?: Off | On | Default) (:? : [0-9]+)?'
r' | https? :// [^ ]+) $', url):
Expand Down

0 comments on commit 71abb28

Please sign in to comment.