[w3m-dev 03880] Re: convert \ -> / in URL

* Bonus/backslash_to_slash.cgi: added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2003-04-15 14:46:17 +00:00
parent f91cf5690f
commit 7933dba92f
2 changed files with 15 additions and 1 deletions

9
Bonus/backslash_to_slash.cgi Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/perl
# keymap "x \\" GOTO file:/$LIB/backslash_to_slash.cgi
$_ = $ENV{W3M_CURRENT_LINK} || exit;
s@\\@/@g;
print <<EOF;
Location: $_
EOF