Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
265 views
in Technique[技术] by (71.8m points)

http - Chilkat CkHttp DownloadBd SynchronousRequest Url Encoding Issue

  1. Library : chilkat-9.5.0.84-x86-vc9 (Latest Version)

    (Actually tested older versions also have the same issue)

  2. Problem :

    Url string has a comma ',' character eg.

    hxxp://show.kanxxxx.com/ncsxxxx/sd/1611309600000,1800000.m3u8?_upt=c5e8aa9a1611395849

    Use Methods DownloadBd & SynchronousRequest (I believe other methods as well) and capture traffics via Fiddler, obtains HTTP/1.1 403 Forbidden response. It is found that the comma ',' is encoded as %2C.

    Using Fiddler composer to send the same url, it is found that the comma is not encoded, it is sent out as it is. The obtained response is valid successful !

  3. Is it possible to manually turn off the auto URL encoding ? or I did not include other methods or properties to turn off the encoding ?

  4. Is it a bug ?

question from:https://stackoverflow.com/questions/65857421/chilkat-ckhttp-downloadbd-synchronousrequest-url-encoding-issue

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Chilkat has been updated to avoid URL encoding the comma character in the path. I can provide a new v9.5.0.85 pre-release build for VC9 if you email [email protected]. Otherwise, the .85 version will be officially released at the end of this month (in about a week).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...