[Zope-dev] RE: More on the Absent id bug

Itamar Shtull-Trauring itamars@ibm.net
Tue, 11 Jan 2000 20:18:27 +0200


Michel Pelletier wrote:

> The quick fix is to remove the / in the <a> tag in this file.  But we
> MUST think more about this path stuff, Catalog was the first app to use
> it extensivly and our lack of a path framework shows.

It sure does.  I just had the most amazing bug report - clicking on a search
result sent the user to family.com.

The reason?  I had 
<a href="/<dtml-var "getpath(data_record_id_)">/manage_main"><dtml-var
title></a><br>

getpath returned /foods/whatever - so the browser thought //foods/whatever
means http://foods/whatever, the server http://foods doesn't exit so the
browser tries http://www.foods.com - and this gets us to family.com.

-- 
Itamar S.T.  itamars@ibm.net