Weird URL Behaviour in Comments

Found a bug? Tell us!!
Post Reply
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Weird URL Behaviour in Comments

Post by DortoH »

This is a bit weird, relates to comments.

If a commentor enters their url as www.domain.com in the comments section of the Serendipity admin page the link gets appended to http://mydomain.com/www.domain.com

However if the commentor enters http://www.domain.com it works properly.

Not a biggie, just FYI. v0.8.3

Rod
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Weird URL Behaviour in Comments

Post by garvinhicking »

Hm, this may be dependant on your Apache Settings and the baseURL you configured in Serendipity. What's your baseURL set to? Can you give me a link/domainname to reproduce?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Post by DortoH »

My baseURL is http://thelazyadmin.com Its a hosted server so I am unsure what the Apache settings are set to.

Like I said its not a big deal, once the comment is approved the link works properly.
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Argh, I misunderstood your question, I'm sorry! You are right, the URL only gets a prefix of "http://" once it is saved and displayed again.

So you need to resort to use http:// in front of the URL for now, that's right.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply