Author Topic: file editor text areas treat back slashes incorrectly  (Read 5328 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
file editor text areas treat back slashes incorrectly
« on: April 28, 2015, 01:53:28 PM »
I'm editing my vhost templates.

I'm wanting to add a regex in a rewrite condition where the regex contains an escaped character eg:

   example\.com

When I save the template, the backslash disappears.  (Presumably the cwp editor is itself interpreting it as an escape character.)

I can get round this initially by doubling the backslash, eg:

  example\\.com

But of course, if I save twice, they both disappear.

Could you please fix this?

Thanks