Closed (fixed)
Project:
Domain
Version:
6.x-2.0-rc9
Component:
- Domain Views
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2009 at 14:50 UTC
Updated:
15 Nov 2009 at 17:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardThanks for the eyeballs on this dark corner of the code!
This patch actually did some things that are totally unnecessary.
Since we use domain_lookup() before writing the path, we have access to $domain['path'], which is the scheme://domain/base_path/ already. The original code didn't use this, nor did the patch.
I am not certain of the array check on values['nid'], because it doesn't take into account field aliasing. Attached is a more verbose patch that handles the node lookups more correctly.
The patch also denies the use of "List all domains this node is published to" unless the base table is 'node.'
Committed to HEAD.