Code: Select all
[url]google.com[/url] or even [url=google.com]test url[/url]
Code: Select all
[url]http://google.com[/url] or even [url=http://google.com]test url[/url]
As you can see, URLs without http:// rewrite to the local url, myforum.com/google.com. I've never encountered this problem on any other forum system and I just tested this out on a few other forum systems before posting here. I'm not really sure why this quirk is hard coded in. It's not really a problem for those of us that add the http to the beginning, I figured that out a few minutes after making my thread in the support forum, but there's no reason to necessitate this behavior and just confuses noobs.
JimA fleshes out this idea here:
https://area51.phpbb.com/phpBB/viewtopi ... 91#p292291
Quoted:
Many inexperienced users that I know of always use the URL tag in order to post a URL, because they think that's the way it should be when posting one. For them this change might cause quite some confusion, they'll have no idea why all of a sudden the board URL is added to the one they post. For me too it sounds counter-intuitive to change a valid URL into one that clearly isn't.
Can't we get the best of both worlds and only make the URLs relative when someone posts a / first?
So that something like www.google.com would go to www.google.com and /images would go to http://area51.phpbb.com/images (the latter example already works this way)
This way it wouldn't break for people non too tech-savvy, and people that want relative links can easily use those too.
Anyone any thoughts on this?