c++ - Http Digest authentication and utf-8 symbols in request headers -


i'm trying implement http digest authentication in server based on cpp-netlib , i'm not sure how tackle issue username attribute in authorization header contain unicode symbols - actual digest authentication rfc not specific on this. practice shows e.g. chrome sends utf-8 encoded username, fine, apart fact cpp-netlib parses incoming stream , checks if header contents alpha numeric using boost , std::isalnum , friends (ok, on linux set current locale utf-8, i'm on windows) , of course causes assertions , not. so, i'm asking general opinion, based on facts given:

1) should dump (and i'm close that) , use customized post/get authentication? 2) can anyhow customize boost's behaivor (since functions verify alpha numeric values come form boost\algorithm\string\classification) tackle this? 3) maybe such issues somehow handled in poco or other web server frameworks server replacements in situation?


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -