Repository navigation
fixed userinfo regex for @ character in userinfo - #59
cansarigol wants to merge 1 commit into
Conversation
|
HI @sethmlarson could you review this pr. |
|
There's no description for why this is important. All it says is that it "Fixed" something which is correct per the ABNF. |
|
This fix about using email address for userinfo.username in Httpx project we had a problem with this (issue328) and as per ticket, @sethmlarson wrote that we can fix As far as I understood, |
|
That's all great context that belongs in the commit message and pull request description. |
|
Can we get it merged? |
|
This is still not compliant with the RFC. The @ in the email must be encoded for it to be passed correctly |
USERINFO_REregex pattern separates URL by first @ character. I changed this pattern to evaluate the last @ character so that can use an email address for userinfo.username (e.g. "https://user@gmail.com:password@example.com")