Apply prope sanitization to avoid stripping characters that shouldn't ac...

...tually be stripped