Hi, we have a bunch of users submitting content but they have a tendency to put apostrophe's (') in pagenames which has a tendency to break links when pasting into other sites. Unfortunately pageName is a system property so unlike regular properties you cannot add a regex to capture this user inflicted naughtiness...
Have a look in the /config/umbracoSettings.config file in the 'urlReplacing' node and add in the appropriate characters that need to be replaced. We've also added in brackets and other punctuation that our clients tend to put in.
Apostrophe's in pageName
Hi, we have a bunch of users submitting content but they have a tendency to put apostrophe's (') in pagenames which has a tendency to break links when pasting into other sites. Unfortunately pageName is a system property so unlike regular properties you cannot add a regex to capture this user inflicted naughtiness...
Any ideas?
Many thanks in advance
Have a look in the /config/umbracoSettings.config file in the 'urlReplacing' node and add in the appropriate characters that need to be replaced. We've also added in brackets and other punctuation that our clients tend to put in.
is working on a reply...