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

bdragon’s picture

Status: Active » Closed (duplicate)