Good day!

At first sorry for mistakes because English is'nt my native language.

I tried using WGet 1.9 and 1.11 (downloading variant for Windows) and found one 
trouble in both versions.

I need to retrieve URL, contained such symbol as "&". This URL is:
http://cargo.rzd.ru/cargostation/public/cargo?STRUCTURE_ID=5101&layer_id=4829&refererLayerId=4821&id=1
(This page is in Russian, don't pay attention on language.)

But I can't encode this symbol. I tried to use construction "%26" instead of 
"&":
http://cargo.rzd.ru/cargostation/public/cargo?STRUCTURE_ID=5101%26layer_id=4829%26refererLayerId=4821%26id=1

But WGet send it as:
http://cargo.rzd.ru/cargostation/public/cargo?STRUCTURE_ID=51016layer_id=48296refererLayerId=48216id=1

E.g. WGet decode "%2", not "%26"! Only first digit of hexadecimal 
representation of the character's ascii value is using.


I hope you will understand this description and fix this problem.

Vladimir.


Reply via email to