I am working with monarodan on this project, and have just discovered something even more odd about this problem.
It seems that the 2 forward slashes actually appear, but only when the page is published. When the page is unpublished, only one slash is shown.
-
MODX Staff
- 12,272 Posts
Sounds like magic_quotes is enabled in your PHP install.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Hi Ryan,
I had the same thought initially, however, I don’t see how magic quotes being enabled would cause the behavior seen where slashes are treated differently for old and new (or is it published and unpublished) pages.
I don’t think magic quotes does anything with forward slashes. Just looked at the docs for it now and it says, "When on, all ’ (single-quote), " (double quote), \ (backslash) and NULL characters are escaped with a backslash automatically. This is identical to what addslashes() does."
I think we’re going to try a fresh install of 1.0.3 and migrate the site over. Hopefully the problem resolves itself in the process. Unless anyone else has another bright idea??
Cheers,
Dan