diff options
| author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:02:05 +0000 |
|---|---|---|
| committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:02:05 +0000 |
| commit | 211c870cbaf49795e5e15b7726f5f52da7a8cf4a (patch) | |
| tree | f6f63067cd1a40133e01778440358b0fdec65ad9 /src/htsparse.c | |
| parent | 1ecdfbe3b855b1f13bcddccc20135f7e35f171a6 (diff) | |
httrack 3.43.5
Diffstat (limited to 'src/htsparse.c')
| -rw-r--r-- | src/htsparse.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/htsparse.c b/src/htsparse.c index 34ef831..e2f955a 100644 --- a/src/htsparse.c +++ b/src/htsparse.c @@ -1953,12 +1953,12 @@ int htsparse(htsmoduleStruct* str, htsmoduleStructExtended* stre) { unescape_amp(lien); unescape_amp(query); // décoder l'inutile (%2E par exemple) et coder espaces - // Bad: strcpybuff(lien,unescape_http(lien)); - // Bad: strcpybuff(lien,unescape_http_unharm(lien, (no_esc_utf)?0:1)); + // XXXXXXXXXXXXXXXXX strcpybuff(lien,unescape_http(lien)); + //strcpybuff(lien,unescape_http_unharm(lien, (no_esc_utf)?0:1)); /* Never unescape high-chars (we don't know the encoding!!) */ strcpybuff(lien,unescape_http_unharm(catbuff,lien, 1)); /* note: '%' is still escaped */ escape_remove_control(lien); - // ???? No! escape_spc_url(lien); + escape_spc_url(lien); strcatbuff(lien,query); /* restore */ } @@ -2752,7 +2752,6 @@ int htsparse(htsmoduleStruct* str, htsmoduleStructExtended* stre) { if (!in_media) { // In media (such as real audio): don't patch /* Never escape high-chars (we don't know the encoding!!) */ escape_uri_utf(tempo); - //if (!no_esc_utf) // escape_uri(tempo); // escape with %xx //else { |
