It would appear that implementations of hook_url_inbound_alter() need to detect if they reduce the $path to nothing because of stripping off path prefixes and expressly resolve to the site_frontpage variable.

I don't know this for sure - but I do know that doing this makes our use case work.

Patch to follow.

CommentFileSizeAuthor
#1 fb.1489831.01.patch444 bytesjamsilver

Comments

jamsilver’s picture

Assigned: jamsilver » Unassigned
Status: Needs work » Needs review
StatusFileSize
new444 bytes

patch attached.

Dave Cohen’s picture

I have what looks like exactly that code in my copy. Are you sure you have the latest .dev code?

jamsilver’s picture

Status: Needs review » Closed (cannot reproduce)

Sorry about that - yes we are running fb module with a good 12 patches on it, and not the latest dev. =( happy days.

Dave Cohen’s picture

I recommend upgrading to latest!