Comment 10 for bug 101098

Revision history for this message
Jan-Wijbrand Kolman (jw-infrae) wrote :

Clemens is right: The situation where ghosts point to anything "outside" of the
context/scope of the virtual host (in which the ghost resides, that is) is
inherently difficult.

I'm not sure at all if forcing a Document to always render absolute URLs for
things it references (e.g. images) will work, since the absolute_url() method
works by looking at information in the REQUEST object. The information
(SERVER_NAME amongst others) in the REQUEST object however is based on the
request to the virtual host in the first place!

Apart from that, I don't really understand the change in zagy's branch. It seems
to try to create an absolute *path* to images, and I wonder how that should work
for objects outside the scope the virtual host...

I really don't see *any* good solution to fully support ghosting objects outside
of the virtual host's scope. Of course I might miss something obvious here.

Martijn, can we brainstorm face-to-face on this a little?