For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

[img] tag URL bug

This section is intended for non-Unreal posts. Forum rules apply.
Post Reply
User avatar
Feralidragon
OldUnreal Member
Posts: 239
Joined: Thu Jul 24, 2008 6:57 pm

[img] tag URL bug

Post by Feralidragon »

It seems that this forum has a bug concerning URLs put into an [img] tag.

Essentially, it seems that the tag is actively checking if the URL ends in a ".jpg" or ".png" or other image format, and if it doesn't, instead of behaving like an image, it behaves like a link and displays an anchor with the URL instead of the image itself.

For instance, in this topic I just created:
http://www.oldunreal.com/cgi-bin/yabb2/YaBB.pl?num=1521812290

I had to add a fragment to the end of each image URL as "#.jpg" and "#.png" to fool the forum software into thinking that it was a "normal" image URL in order for it to work, although any URL whatsoever can be a valid image and should be accepted as is.

The extension check should not be made at all since what defines the type of a resource in any web service is the MIME type which comes in the Content-Type header in an HTTP response.  :)
Last edited by Feralidragon on Fri Mar 23, 2018 8:31 pm, edited 1 time in total.
Post Reply

Return to “Anything else ?”