X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconvert.c;h=71e3d8f03a4346a96565152158d55a43c4f18951;hp=280d1b0c819f4bd6c5833a8c30d48acaeffd89e6;hb=9dadbf6fe9577a6a6b7e7bab4e4b782fc1a6f86c;hpb=c784c334d3ddaeb6c628931eca87056e152181fe diff --git a/src/convert.c b/src/convert.c index 280d1b0c..71e3d8f0 100644 --- a/src/convert.c +++ b/src/convert.c @@ -591,7 +591,7 @@ find_fragment (const char *beg, int size, const char **bp, const char **ep) We quote ? as %3F to avoid passing part of the file name as the parameter when browsing the converted file through HTTP. However, - it is safe to do this only when `--html-extension' is turned on. + it is safe to do this only when `--adjust-extension' is turned on. This is because converting "index.html?foo=bar" to "index.html%3Ffoo=bar" would break local browsing, as the latter isn't even recognized as an HTML file! However, converting @@ -628,7 +628,7 @@ local_quote_string (const char *file) *to++ = '3'; break; case '?': - if (opt.html_extension) + if (opt.adjust_extension) { *to++ = '%'; *to++ = '3';