You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
w3mman 7z fails because it generates ?quit=ok§ion=7z. w3mman 1 7z generates ?quit=ok§ion=1§ion=7z. w3mman foo bar incorrectly generates ?quit=ok&man=foo&man=bar.
Since the syntax is [[section] page], this is incorrect. One possible fix is to use Getopt::Std, which has been standard since the early days of Perl 5. Another alternative is to limit the number of sections to 1 (e.g. /^\d/ || ... ⇒ $query !~ /§ion=/ && (/^\d || ...) will fix the w3mman 1 7z case) and to detect an incorrectly generated query string after the loop (i.e. ?quit=ok§ion=7z should be changed into ?quit=ok&man=7z).
The text was updated successfully, but these errors were encountered:
w3mman 7z
fails because it generates?quit=ok§ion=7z
.w3mman 1 7z
generates?quit=ok§ion=1§ion=7z
.w3mman foo bar
incorrectly generates?quit=ok&man=foo&man=bar
.Since the syntax is
[[section] page]
, this is incorrect. One possible fix is to useGetopt::Std
, which has been standard since the early days of Perl 5. Another alternative is to limit the number of sections to 1 (e.g./^\d/ || ...
⇒$query !~ /§ion=/ && (/^\d || ...)
will fix thew3mman 1 7z
case) and to detect an incorrectly generated query string after the loop (i.e.?quit=ok§ion=7z
should be changed into?quit=ok&man=7z
).The text was updated successfully, but these errors were encountered: