I see from recent changes that we have lots of the likes of
Locale Clapham;format=rdf
and
Category Bars;action=edit
being autocreated.
This smells of a bug. Or a security hole, allowing an unscrupulous third party spider to pollute the database with badly formed stubs.
Ivor.
On Sat, May 29, 2004 at 10:29:59AM +0100, IvorW wrote:
I see from recent changes that we have lots of the likes of
Locale Clapham;format=rdf
oglondon=> select count(*) from node where name like '%action=%'; count ------- 142 (1 row)
oglondontest=> select name from node where name like '%action=%'; Category French Food;format=rdf;action=edit;action=edit;format=rdf Category French Food;action=delete;action=delete;action=delete;action=delete Category French Food;action=edit;action=delete;action=edit;action=edit Category French Food;action=delete;action=edit;action=edit;action=delete Category French Food;action=delete;format=rdf;action=edit;format=rdf [following listing of many spurious nodes nusked]
Kate, can I delete these safely the simple SQL way, or should I write something to use the CGI::Wiki method for it?
This smells of a bug.
In somebody else's spider, as far as I can tell, which combined erroneously appending multiple parameters with incorrect URL encoding. But, it does confirm the point that Dom made - namely, autocreation violates RFC 2616 ("In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval."). This behaviour is clearly potentially harmful, and we should disable it.
Or a security hole, allowing an unscrupulous third party spider to pollute the database with badly formed stubs.
Why not just pollute the database with randomly-named nodes, if you were going to do that? At least that way it would be harder to do a SELECT statement to find them. And anyway, you don't need autocreation to do that.
Oops, should I have said that on a publically-archived list? ;)
On Tue, Jun 01, 2004 at 11:51:04AM +0100, Earle Martin wrote:
the point that Dom made
Oops, didn't realise that this was on the other list. Reference: http://openguides.org/mail/openguides-dev/2004-May/000316.html
On Tue 01 Jun 2004, Earle Martin openguides@downlode.org wrote:
Kate, can I delete these safely the simple SQL way, or should I write something to use the CGI::Wiki method for it?
Write something - then they'll be cleared from the indexes as well.
Kake
On Tue, Jun 01, 2004 at 03:12:31PM +0100, Kate L Pugh wrote:
Kate, can I delete these safely the simple SQL way, or should I write something to use the CGI::Wiki method for it?
Write something - then they'll be cleared from the indexes as well.
Done.
openguides-london@lists.openguides.org