Skip to content

Commit

Permalink
Merge pull request #68 from dermodmaster/patch-1
Browse files Browse the repository at this point in the history
Fix regex for comma seperated values
  • Loading branch information
tayler6000 committed Sep 26, 2022
2 parents 170fe84 + 283ee1c commit e62bbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyVoIP/SIP.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def __init__(self, data: bytes):
self.body: Dict[str, Any] = {}
self.authentication: Dict[str, str] = {}
self.raw = data
self.auth_match = re.compile('(\w+)=("[^"]+"|[^ \t]+)')
self.auth_match = re.compile('(\w+)=("[^",]+"|[^ \t,]+)')
self.parse(data)

def summary(self) -> str:
Expand Down

0 comments on commit e62bbc9

Please sign in to comment.