Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - image format is changed after post
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

image format is changed after post

 Post Reply Post Reply
Author
onyourleft View Drop Down
Newbie
Newbie


Joined: 10 March 2003
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote onyourleft Quote  Post ReplyReply Direct Link To This Post Topic: image format is changed after post
    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

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

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.

 

 

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 1:30pm
Upgrade to version 7.5 to fix the problem.
Back to Top
onyourleft View Drop Down
Newbie
Newbie


Joined: 10 March 2003
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote onyourleft Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2003 at 1:36pm

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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.