On Fri, 7 Apr 2006, Dan Mahoney, System Admin wrote:

So, nothing?  No thoughts?

-Dan


Hey all...

I recently went to mirror an ebay page.  As would be expected, it had
links in it which pointed to another site...

In this case, it was http://www.justsaturn.com/%7Eintlautoexchange

The files downloaded fine, and converted fine, but when wget rewrote the
links, it linked at (in my case):
http://www.gushi.org/lj/mv1/www.justsaturn.com/%7Eintlautoexchange/

In fact, if you look at this url:

http://www.gushi.org/lj/mv1/www.justsaturn.com/

You can see that the directory EXISTS.

Problem is, to access it through a browser, one other tweak in the
conversion needs to be done -- it needs to be rewritten as %257e (to
escape the % in %7e).

I've seen unofficial patches to allow wget to save the ~ character
directly.  But there's got to be a better way to make sure this behavior
is more consistent, in a manner that will work on both FILESYSTEMS (which
would be confused by the extra link) and WEBSERVERS (which would
understand it).

I believe the correct way is the approach to make it compatible for
webservers, since in all reality you will be looking at HTTP pages with a
browser, even if the access it local, and every browser from lynx to
firefox will internally rerender %*something**something* as
appropriate...so no matter what, I cannot go to a directory called
%7Ewhatever, by name (whether there's an httpd in the middle, or it's on
the local fileserver).

-Dan

--

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------


--

"There were some sensible, rational, and intelligent things to say.  It's
just that it was the last thing I expected to hear from the damn
kangaroo."

-Saravit, December 27, 1997

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------

Reply via email to