Also add square and curly braces to allowed characters for Attachment
name