Print Page | Close Window

image format is changed after post

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6612
Printed Date: 03 April 2026 at 6:04pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: image format is changed after post
Posted By: onyourleft
Subject: image format is changed after post
Date Posted: 21 October 2003 at 12:25pm

Using WWF 7.01, with SQL Server.

When I try to add certain images into a post that have a url not starting with WWW, they are often changed resulting in a broken image.  The URL below is an example:

http://i.imdb.com/Photos/Ss/0120742/6 - http://i.imdb.com/Photos/Ss/0120742/6

After I post, and I look at the HTML source, it has been changed to:

http://i.imdb/Photos/Ss/0120742/6 - http://i.imdb/Photos/Ss/0120742/6

It leaves the ".com" off the post.  Anyone else have this problem and know of the fix?

Thanks.

 

 

 




Replies:
Posted By: WebWiz-Bruce
Date Posted: 21 October 2003 at 1:30pm
Upgrade to version 7.5 to fix the problem.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: onyourleft
Date Posted: 21 October 2003 at 1:36pm

I tried the image on this board (7.51) and it still happens.



Posted By: WebWiz-Bruce
Date Posted: 21 October 2003 at 1:52pm
For security reasons images must have a web standard extension for a graphic like:-

.gif
.jpg
.png
.jpeg

If an image link has any other extension it won't be excepted by the filters it could be a link to a malicious script or file that could be used by a hacker.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: wistex
Date Posted: 21 October 2003 at 3:07pm

It looks like the forums thinks that everything after .com is the extention to the file.  That's why it is chopping it off.

Allowing people to post a (supposed) image with *.com or *.exe extenstion is a BAD idea.  Those are executable files and any Windows computer will try to execute (i.e. run) them as a program instead of displaying a file.

And allowing someone to post a (supposed) image with no extention (like your links) is also a danger since it is possible to redirect that to anything, including an executable program.

For security reasons, all images must have a valid extention like *.gif, *.jpg, etc.  Othewise you are opening yourself up to malicious files being uploaded instead of images.



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net