Files with # in the title don't work properly

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
pspmikek

Files with # in the title don't work properly

Post by pspmikek »

I found a couple issues with a file.

I uploaded a file with the name:

Wise Choices #1.doc

And had the following issues:

1. Links to the file didn't work properly (links created through the link UI in page creation)

2. I can't delete the file (error is No real file given)

Thanks for a great product!

Mike
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Files with # in the title don't work properly

Post by Dr.CSS »

More info...

What ver., how did you upload it, how are you trying to delete it?
pspmikek

Re: Files with # in the title don't work properly

Post by pspmikek »

Here I am a developer and I fail to provide enough info.

I noticed this is for official releases, so I probably posted in the wrong place.

this is with 1.0-beta6

I uploaded the file using the upload using the file manager.
mahjong

Re: Files with # in the title don't work properly

Post by mahjong »

pspmikek wrote:I uploaded a file with the name:

Wise Choices #1.doc
Spaces and special characters in file names : a really "unwise choice" and a bad MS Windows habit you'll need to quit.

This is not a valid file name on most operating systems and certainly not on the Web. You cannot use special characters or spaces in URLs. The reference to your file name, once properly URL encoded, becomes : Wise%20Choices%20%231.doc That's the name you need to use in your links and to access your file.

%20 = space
%23 = #

More about URL Encoding : http://www.blooberry.com/indexdot/html/ ... coding.htm

You could avoid all this by changing you naming convention : Wise_Choices-no1.doc
Last edited by mahjong on Sat Sep 02, 2006 3:02 am, edited 1 time in total.
Locked

Return to “[locked] Quality Assurance”