[Asterisk-java-users] Possible bug in script pattern matching
Brought to you by:
srt
From: Steve D. <Ste...@Su...> - 2005-04-11 21:48:08
|
SCRIPT_PATTERN is defined as "^([^\\?]*)\\?(.*)$" This will match the empty string before the question mark. I think the pattern should be ^([^\\?]+) etc. Likewise PARAMETER_PATTERN is "^(.*)=(.*)$", again matching the empty string before an equal sign |