Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2000
Posts: 29
Member
Member
Offline
Joined: Apr 2000
Posts: 29
The file can BE a valid file.. let's say I send up a very nice GIF but give it a filename of javascript:evilstuff()" ALT="foo.gif The "extension" when it looks at it, is .gif, right, fine, that's good. Is it really a GIF that I got uploaded? It is? Right, fine, that's good. That's one part of the problem, the other part is that if the filename includes spaces, e.g. Pic of my dog.jpg Then, the spaces do not get URL-encoded, because, to LINK to a file like that, in an HREF, you need to do: Pic%20of%20my%20dog.jpg HREF objects can't have spaces in them, because it must contain a URL, and a URL cannot contain whitespace (or any other special character for that matter). That's what tipped me off to this is that I saw a page on another person's w3t board where the image filename had spaces and netscape users couldn't download it because their browser (obeying the standard) was very confused. The issue with spaces is mildly easy because people expect it, but if I was to send a filename of "Derek?Susan?.jpg", that would cause some serious issues for some browsers, I reckon, even though it is a perfectly legitimate FILENAME. D


Sponsored Links
Entire Thread
Subject Posted By Posted
5.1.5 uploaded filename bug (may also exist w/perl Dredd 01/14/2001 5:49 PM
Re: 5.1.5 uploaded filename bug (may also exist w/perl Rick 01/15/2001 6:59 PM
Re: 5.1.5 uploaded filename bug (may also exist w/ Dredd 01/15/2001 7:16 PM
Re: 5.1.5 uploaded filename bug (may also exist w/ Rick 01/15/2001 7:20 PM
Re: 5.1.5 uploaded filename bug (may also exist w/ Dredd 01/15/2001 7:27 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)