From: AVL <info@atmsk.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] wget : How to make it not mangle URLs
Date: Thu Nov 15 23:17:27 2001
Message-ID: <20011115233735.5eb9e779.info@atmsk.ru> (raw)
In-Reply-To: <20011115224315.B2866@hb.ant-on.net>
On Thu, 15 Nov 2001 22:43:15 +0300
Henri Bourbon <npecca@yahoo.com> wrote:
> $ wget http://localhost/foo?two//slashes
> --22:22:46-- http://localhost/foo?two/slashes
>
> 2 слэша -- это не 1 слэш, не так ли? Пожалуйста, подскажите, как заставить
> wget делать то, что я его прошу сделать, а не то, что он хочет?
>
> Вопрос не праздный. Нужно скачать неск. десятков файлов с 1-го хитрого
> сайта, все файлы имеют URL типа (обратите внимание на "//" )
> /cgi-bin/shit.cgi/smth//path/to/file
> причем запрос "похожего" URL (меняем "//" на "/")
> /cgi-bin/shit.cgi/smth/path/to/file
> выдает большую симпатичную дулю с маком (404 Not Found).
> Пробовал заменить "//" на "/%2f" и "shit.cgi/" заменить на "shit.cgi?".
> Оба варианта дают дулю, но уже с маслом (403 Forbidden).
>
> Я могу отказаться от wget, написав скрипт, к-рый сделает то, что нужно и
> как нужно. Но вопрос все-таки в том, можно ли добиться нормальной работы
> от wget.
а в кавычки брать не пробовали?
prev parent reply other threads:[~2001-11-15 23:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-15 22:36 Henri Bourbon
2001-11-15 23:17 ` AVL [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011115233735.5eb9e779.info@atmsk.ru \
--to=info@atmsk.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git