Closed (duplicate)
Project:
Drupal core
Version:
4.7.x-dev
Component:
path.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2006 at 22:40 UTC
Updated:
22 Sep 2007 at 18:22 UTC
With path.module enabled, in admin/path/add, if you enter a form with some errors (e.g. a blank alternative path), you get sent to a long nasty path, beginning "%3Cform+action%3D%22 ...". (And on my local machine, Apache says "Forbidden"). Ouch.
Possible diagnosis: in path.module, path_form_submit() returns 'admin/path' if OK, but returns a form, path_form($edit), on error instead of a path. Maybe this was left over from old form behaviour?
BTW, path_form_submit() contains checks that look like they should be in some (non-existant) path_form_validate() instead of _submit(), maybe?
Mark.
Comments
Comment #1
bdragon commentedDuplicate of http://drupal.org/node/80927.