Fossil SCM

Filenames containing spaces are downloaded with + signs from the browser link

Open

43e2fc335c6d6b7… · opened 15 years, 11 months ago

Type
Code_Defect
Priority
Low
Severity
Minor
Resolution
Open
Subsystem
Created
May 5, 2010 1:30 p.m.

Add a filename containing a space and commit it. Then when using the browser to download the file from the download link, the file will be saved with a + where the space character(s) were

Example. If the file is 'file 2.txt', you will get a link such as

http://localhost:8081/raw/file+2.txt?name=139084078bfa5217c37fd09f7d15d719344c605c

and by default the browser (IE6, chrome, safari) will save it as 'file+2.txt'

I first encountered this using the windows version of fossil. However a self compiled macintosh version of fossil does the same thing.

Comments (1)

stephan 3 years, 2 months ago

Fossil currently translates these to underscores. That's arguably still a bug - there should be no translation going on for spaces.

An example in this repository: [/file?name=test/subdir+with+spaces/filename+with+spaces.txt&ci=trunk]

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button