Closed (fixed)
Project:
Fast 404
Version:
6.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2012 at 05:28 UTC
Updated:
10 Mar 2012 at 05:04 UTC
I would attach a patch file but I can't figure out how your repo is setup in order to do a git diff.
In fast_404.inc, fast_404_validate_path_drupal() the two queries against menu_router and url_alias are each missing an argument to db_query(). Each query has two %s placeholders but only one argument.
Needs to be $res = db_result(db_query($sql,$_GET['q'],$_GET['q'])); in both cases.
This makes paths set in the menu return 404, basically making path checking useless for my site.
Comments
Comment #1
soyarma commentedThanks! Not sure how I missed this :S
It'll be released tonight.
(and yeah... something is mucked up with the repo for this project, I can't make a 6.x-1.x for dev, but HEAD is 6.x-1.x... it strikes me as something that came through strangely from CVS).