Ampersands in page names
I've been involved with a website
using ))TikiWiki(( 1.7.x for quite a while and due to a hard drive failure, we had to rebuild the site. As part of the rebuild, we installed 1.8.5 and one of the problems I ran into in reloading content is that page names with ampersands in them generate an "Invalid variable name" error message.
I've been playing around with a local copy of it and I found that if I change the line:
$patterns['vars'] = "/^[-_a-zA-Z0-9]*$/"; // for variable keys
to:
$patterns['vars'] = "/^[-_a-zA-Z0-9]*$&/"; // for variable keys
in tiki-setup_base.php, the problem goes away.
My question is if I make this change to the real site, am I opening it up to attacks or potentially causing any other problems?
Thanks.
Matt