Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: VanKlomp on January 01, 2011, 05:25:48 PM

Title: Forum interprets address within [IMG] tags as [URL]
Post by: VanKlomp on January 01, 2011, 05:25:48 PM
When I try to post the following code, I am getting an error;

[url=http://www.gametracker.com/server_info/81.19.208.31:19567/][img]http://cache.www.gametracker.com/server_info/81.19.208.31:19567/b_560x95.png[/img][/url]

Preview works fine, and I see the image with the associated URL. However, when I post I get this;

[url=http://www.gametracker.com/server_info/81.19.208.31:19567/][img]http://cache.[url=http://www.gametracker.com/server_info/81.19.208.31:19567/b_560x95.png]www.gametracker.com/server_info/81.19.208.31:19567/b_560x95.png[/url][/img][/url]

You can clearly see where it's falling over, because of the http :// cache. at the start of the image URL.

Thanks

VK
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: kat on January 01, 2011, 05:31:51 PM
http://www.gametracker.com/games/cs/forum.php

If that's your forum, you won't get any help, here, until the SMF copyright's restored.
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: Arantor on January 01, 2011, 05:37:43 PM
I don't think you'll find that's an SMF forum.
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: Nibogo on January 01, 2011, 05:39:38 PM
K@: That isn't an SMF Website
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: kat on January 01, 2011, 05:44:04 PM
So...

We're being asked to provide support for other forum software, now?

How odd...
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: Nibogo on January 01, 2011, 05:45:53 PM
Nop, he's just reporting an issue when he try to post the bbcode showned in the first post, he isn't asking for support for that board
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: Spoogs on January 01, 2011, 05:46:10 PM
http://www.simplemachines.org/community/index.php?topic=412512.20
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: Kindred on January 01, 2011, 07:02:25 PM
Quote from: Kindred on December 10, 2010, 03:12:04 PM
???
Didn't I just go over this with someone

mostly, it's a problem with that website not using a standard url address format.

The problem is that smf interprets www as the START of a web address, so it is attempting to make the URL that is SEES into a link because that cache.www screws it up.


I honestly don't call this an actual SMF "bug" and I would prefer telling the stupid people who used that format of url to use a proper format.
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: VanKlomp on January 01, 2011, 11:24:09 PM
Quote from: Spoogs on January 01, 2011, 05:46:10 PM
http://www.simplemachines.org/community/index.php?topic=412512.20

Thanks.

I searched everything except the obvious... 'gametracker'.  :-[
Title: Re: Forum interprets address within [IMG] tags as [URL]
Post by: emanuele on November 14, 2011, 08:50:19 AM
Tested the code, works fine.