SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001650SiT!incidentspublic2011-07-20 22:412011-08-05 19:29
Reporterskyrack_technology 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionunable to reproduce 
PlatformLinuxOSLinuxOS Version2.6+later
Product Version3.60 LTS 
Target VersionFixed in Version 
Summary0001650: No && character support in attachment filenames
DescriptionFiles attached to incidents with && signs break downloads and give 404.

Certain characters such as "&" are not supported in filenames of attachments, and will generate a 404 when trying to donwload these files.
We havent tested all characters, there may be some others too, so worth letting your users know not to use special characters.
These files will upload ok, and you will see the file in the filesystem, and within the SiT db (files table).
Steps To ReproduceCreate an incident, then attach a file that contains "&" in the filename.
TagsNo tags attached.
Attached Filespng file icon db.png [^] (11,534 bytes) 2011-08-05 19:28

- Relationships

-  Notes
User avatar (0004130)
ivan (administrator)
2011-08-04 12:03

Thanks for the report. I've tried to reproduce this with v3.64 and cannot, files with ampersands in attachments download just fine for me.

I would suggest you upgrade to 3.64 and try again. There are many good reasons to upgrade aside from this bug anyway.

If upgrading doesn't fix this for you, we'll need some more information off you in order to reproduce it.
User avatar (0004134)
paulh (administrator)
2011-08-05 19:28

Can reproduce this with current git.

This doesn't effect attaching the file as an update though if you go to files -> upload it uploads OK though when you click it you get:

-----------------------------
404 File Not Found
404 File Not Found : /home/sit/attachements/21/38
About phdev Support Incident Tracker v3.90 git running on Apache/2.2.19 (Debian) at 18:26

You are using a pre-release version of SiT - v3.90 git, Pre-release versions are for you to test, provide feedback and to help with further development and should never be used in a live production environment. Report a Bug
DEBUG

Execution Time: 0.072 seconds
Memory Usage: 8.15 MBytes

Path: /home/sit/attachements/21/38-file&&ampersands.txt
Old style path: /home/sit/attachements/21/u308/file&&ampersands.txt
Fs2 Path: /home/sit/attachements/21/38
------------------------------
User avatar (0004135)
paulh (administrator)
2011-08-05 19:29

DB entries shown in db.png attached

- Issue History
Date Modified Username Field Change
2011-07-20 22:41 skyrack_technology New Issue
2011-08-04 12:03 ivan Note Added: 0004130
2011-08-04 12:03 ivan Resolution open => unable to reproduce
2011-08-05 19:28 paulh Note Added: 0004134
2011-08-05 19:28 paulh Status new => confirmed
2011-08-05 19:28 paulh File Added: db.png
2011-08-05 19:29 paulh Note Added: 0004135


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker