----- Original Message ----- From: "Earle Martin" openguides@downlode.org To: "OpenGuides software developers" openguides-dev@openguides.org Sent: 17 May 2005 01:06 Subject: Re: [OpenGuides-Dev] toxic XML URIs
On Tue, May 17, 2005 at 12:55:17AM +0100, Earle Martin wrote:
Can anyone advise on the best way to strip these characters out at editing time? And is it better to just throw them away, or is there a reliable way of de-weirding them?
I should add that newpage.cgi needs to be patched to strip them out, and index.cgi should probably bring up an error if you try to edit a page with a bad character (like '%A0', which I just found in a node name) in the name of the node.
Sounds like a job to do in the untaint routine inside newpage.cgi. Presuming that newpage.cgi works with taint mode. ???