rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: Robert.H.Weinstein on January 05, 2011, 03:25:41 AM

Title: The address area keeps appending one extra space next to my dns name ??
Post by: Robert.H.Weinstein on January 05, 2011, 03:25:41 AM
http://xxxx.xxxx.org /  

The address area keeps appending one extra space next to my dns name

http://xxxx.xxxx.org   at the root appears as http://xxxx.xxxx.org /    (note the extra space)

WHat is causing this?

ver 272

see attached untitled.png pic
Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: Mars on January 05, 2011, 03:00:56 PM
It is because you added a space too at the end of your dns name in the wizard  ;)

Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: rejetto on January 11, 2011, 05:19:28 PM
re-enter the address.

i will add some automation to avoid problems like these.
Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: Mars on January 11, 2011, 05:20:55 PM
i have a solution to do it, wait and after searching on my delphi i will to edit this post
Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: rejetto on January 11, 2011, 05:22:39 PM
i already added some trim()s
Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: Mars on January 11, 2011, 05:24:33 PM
trim is not the best solution if you put 'www.my dns.com' the bug is always here

see this post

http://www.rejetto.com/forum/index.php/topic,9329.msg1053039.html#msg1053039

 ;)
Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: rejetto on January 11, 2011, 05:27:11 PM
he didn't put a space in between.
a space at the end is more likely to be missed.
you can at least see it when it's in between.
Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: Mars on January 11, 2011, 05:32:58 PM
My question will be then this one: are the names of domain containing spaces, or all are generally replaced by hyphens or underlined?

A known example?  ;)
Title: Re: The address area keeps appending one extra space next to my dns name ??
Post by: rejetto on January 11, 2011, 05:34:41 PM
some things are prone to errors, others are not, even if possible.
spaces at the end/beginning are prone to errors.
that's what i said.