FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » usage of url tag fails with relative links
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: usage of url tag fails with relative links [message #15198 is a reply to message #15146] Fri, 05 December 2003 12:59 Go to previous messageGo to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma:
Senior Member
I ve just installed RC10.
Absolute urls are working again, however relative ones still append "http://" to the URI. I don't think this is a wise approach, because you hardcode the protocol though you don't know in advance whether the forum will run with HTTPS or not. If SSL is used and someone points to a link on the local server, the visitors will be forced to leave the SSL connection. This may lead to some brokeness. Another downside is in case of moving to another server the stuff which was locally linked isn't portable any longer because of hardcoded URLs which need to be manually fixed.

When you use the img tag, it still accepts relative urls. I think you should either completely disable relative URLs or allow them but treating one tag different from another though there's no real reason for it is quite confusing.

I understand that bad coded stuff may lead to security problems with directory traversals once relative URLs are used, but are you someone writing bad code? I don't think so Smile

just my 2 ¢

Olliver
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: v2.6.0RC10 - Timeout when trying to edit large post
Next Topic: Problem with Textfields
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 21:32:26 GMT 2024

Total time taken to generate the page: 0.04995 seconds