List Info

Thread: sysinstall




sysinstall
user name
2006-04-20 02:04:36
For a while now, when I try to use http for sysinstall, I
run into
some annoying bugs.

For example:
I say my sets are at http://10.0.0.1/~msporle
der/

I say my host is 10.0.0.1
my base dir is ~msporleder
and my sets dir is /sets

I blank out the user/password (defaults to ftp)
and my url ends up as: http://%2010.0.0.1/%7Emsporleder/sets//

I understand the control characters, but why do they show up
at all?
Also, why is sysinstall translated them?  ftp from the
command line
works with the real url (symbols and all)

Also, why is the (outdated) userpsasword url structure
forced?

sysinstall
user name
2006-04-23 17:29:37
On Wed, Apr 19, 2006 at 10:04:36PM -0400, matthew sporleder
wrote:
> For a while now, when I try to use http for sysinstall,
I run into
> some annoying bugs.
> 
> For example:
> I say my sets are at http://10.0.0.1/~msporle
der/
> 
> I say my host is 10.0.0.1
> my base dir is ~msporleder
> and my sets dir is /sets
> 
> I blank out the user/password (defaults to ftp)

You don't want to do that....
Leave it as "ftp" for anonymous access.
(maybe the code could check for empty strings as well)

> and my url ends up as: http://%2010.0.0.1/%7Emsporleder/sets//
> 
> I understand the control characters, but why do they
show up at all?

The %20 is a space, possibly from the 'emptied'
username/password.
Although the code is trying to generate http://<user&
gt;:<password><host>/...

The %7E is ~ which is (by strict reading of RFC 1738) unsafe
in a URL.

> Also, why is sysinstall translated them?  ftp from the
command line
> works with the real url (symbols and all)

Because they aren't legal in a URL

> Also, why is the (outdated) userpsasword url structure
forced?

It uses user:passwordhost unless user is "ftp" and
the password is blank.

	David

-- 
David Laight: davidl8s.co.uk

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )