Do Not Use Quotation Marks When Using Built-in Attachments Uploader

Slippertalk Orchid Forum

Help Support Slippertalk Orchid Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Heather

ST Supporter
Supporting Member
Joined
Jun 6, 2006
Messages
10,753
Reaction score
186
Location
Sacramento, CA. Outside w/ Southeast Exposure
Thanks to Tom Kalina and to Liquid Web (our amazing server support), we have discovered an issue with uploading photos using the built in attachment uploader.

There is a rule built in to keep the server running smoothly called a ModSecurity rule that the attachment process was tripping. Apparently the attachment file had an illegal naming convention in it. If the filename has a single or double quote in it, it trips this rule and generates an error.

When this is the case, then a simple rename of the file should allow you to upload the file.

Of course this is an issue for us because of the use of single quotation marks around clonal names.

For example, Tom's Phrag. vitattum 'Birchwood' jpg file had the quotes included in the name of the attachment which tripped the rule and caused the server error. When I removed the quotes around 'Birchwood', the photo uploaded just fine.

So, please make sure when uploading attachments that your files do not have single or double quotation marks in the file name.

Thank you!
 
Last edited:
Dealing with character encoding and providing support for various non-alphanumeric symbols is a pretty complex issue, so it doesn't surprise me.

As a general rule, when it comes to files and directories I adhere to the KISS methodology, keep it simple, stupid. Stick with alphanumeric symbols, maybe an underscore and obviously the dot (.).

On the other hand, when it comes to passwords, I approach with the opposite philosophy. Keep it random, and don't be afraid of the special characters and symbols.
 
It tell us some information why it's not working sometime.
Thank you
@ We do have option that we post direct photos to the forum? I need to upload photo in other page then copy the link to this forum (so we will have one problem that is the photo page that I copy link have problem then all photo I post here also disappear)
 
Back
Top