mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
Make extension match characters case-insensitive.
(closes issue #12777) Reported by: jsmith Patches: lower_case_patterns-trunk-v1.patch uploaded by jsmith (license 15) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1483,7 +1483,7 @@ static int ext_cmp1(const char **p)
|
||||
; /* ignore some characters */
|
||||
|
||||
/* always return unless we have a set of chars */
|
||||
switch (c) {
|
||||
switch (toupper(c)) {
|
||||
default: /* ordinary character */
|
||||
return 0x0000 | (c & 0xff);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user