Posted by Aron Novak on August 14, 2009 at 11:57am
4 followers
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | file system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Let's say you have a file named "watch?v=6bzggUe3tsc.txt"
Upload, attach it to a node (use Firefox, Opera removes the nasty parts of the filename!), and the Attachment section will contain a link that leads to 404. The filenames may also contain URL-stopper parts. I'd propose to add urlencode to make sure everything will be smooth.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| fix_tricky_filename.patch | 824 bytes | Idle | Failed: 12083 passes, 3 fails, 0 exceptions | View details | Re-test |
Comments
#1
Also, this one exists also in Drupal 6.x of course.
I used Firefox/2.0.0.14 to upload the file from my local system.
#2
The last submitted patch failed testing.
#3
Yeah, only alter the filename part.
#4
This is also covered by the patch for #284899: Drupal url problem with clean urls.
#5
c960657: good, I will review #284899: Drupal url problem with clean urls and make that RTBC if this looks good.
#6
cool lets mark this as a duplicate then.