pythongssapi / requests-gssapi

An authentication handler for using GSSAPI with Python Requests. Drop-in replacement for old requests-kerberos.
Other
32 stars 21 forks source link

Fix invalid escape sequence "\s" #10

Closed stanislavlevin closed 6 years ago

stanislavlevin commented 6 years ago

To prevent interference of escaping in strings with escaping in regex strings regex one should be marked as raw.

Resolves: #9

frozencemetery commented 6 years ago

Awesome, thanks @stanislavlevin! We inherited this code from requests-kerberos, so I'll pass it along to them as well.

One note before I merge: GitHub isn't associating this commit with your account. Typically, this is because whatever email you used isn't associated with your account. I'll wait a couple days in case you want to fix that and then merge.

Thanks again!

stanislavlevin commented 6 years ago

Hello @frozencemetery ! Thank you for review! I've changed my email to commit's one. Hope this helps :-)