& in folder name

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/29/2013 4:09:32 AM
Gravatar
Total Posts 167

& in folder name

One of my clients was creating a new folder on the server for images and documents and named it "t&cs_2014".

so when referencing links with in this folder there is an obvious issue that "&" conflicts with a valid url name. Is there a way of restricting this character is setting up folder names.

10/29/2013 12:47:33 PM
Gravatar
Total Posts 2239

Re: & in folder name

I don't think there is a configuration setting anywhere to allow preventing characters in names. I will second that prevention of the ampersand character in file and folder names should be added. Not that this would prevent one from creating a folder or file with an ampersand and then uploading it to the site via FTP or some other means that isn't through mojoPortal.

Thanks,
Joe D.

10/29/2013 3:53:25 PM
Gravatar
Total Posts 18439

Re: & in folder name

We have cleanup methods for folders and file names, I've added logic to remove ampersand to those methods which should prevent that. So this change will be in the next release. 

Thanks,

Joe

10/31/2013 11:17:23 AM
Gravatar
Total Posts 167

Re: & in folder name

Superb, Many thanks Joe

You must sign in to post in the forums. This thread is closed to new posts.