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

soyarma’s picture

Status: Needs review » Closed (fixed)

Thanks! 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).