Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2007 at 02:01 UTC
Updated:
24 Aug 2007 at 06:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
pwolanin commenteda quick grep turns up these possible use of raw $_POST:
Comment #2
pwolanin commentedbump - D6 should not ship without fixing this 4.6 legacy code..
Comment #3
pwolanin commentedThis is a partial patch - gets 2 of the 3 uses in node module. The 3rd is tricker since it goes into search module.
Comment #4
pwolanin commentedlet's make this issue only for node module.
a separate issue for FAPI and menu cleanup in taxonomy module: http://drupal.org/node/163297
someone should start one for comment module (if it doesn't exist).
Comment #5
pwolanin commentedActually - this patch should get reviewed as is - no need to wait to fix the 3rd instance. That can come as a separate patch.
same patch attached, but re-rolled to remove offset. Enable/disable a module to force a menu rebuild.
Comment #6
pwolanin commentedfix comment text and unneeded code movement
Comment #7
dmitrig01 commentedhaven't tested, but it passes code review
Comment #8
moshe weitzman commentedcode looks like a nice cleanup. no time to test now - sorry.
Comment #9
dries commentedTried testing it, but the code no longer applies. Requires a re-roll.
Comment #10
pwolanin commentedpatch re-rolled and re-tested.
Note - be sure to enable/disable a module after applying this patch to get a menu rebuild.
Comment #11
dmitrig01 commentedTested - got HEAD from CVS, applied the patch, installed, enabled a module (aggregator, at random) and created five nodes (two stories and three pages).
Deleted a page, that worked. Node operations worked (selecting one, promoting it, refining, demoting another page). The node deletion operation worked as well. It's RTBC. (It actually fixes a bug with multiple clicks - you click delete multiple times on the confirm form for multiple deletes, and it detects it as an illegal choice
Comment #12
dmitrig01 commentedchx, in IRC:
Comment #13
dries commentedTested, reviewed and committed. Thanks! :)
Comment #14
(not verified) commented