[Zope] wrong url in localfs

Michael Bleijerveld michael@bleijerveld.nl
Wed, 16 Jul 2003 12:22:43 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0071_01C34B94.F4ED9600
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

When using <td><a href=3D"&dtml-basepath;/<dtml-var id>"><dtml-var =
id></a></td> the URL is like file:///c:/temp/admin/test.pdf.

I try to open the file but without success. What is wrong with the url =
reference ?

Regards,

Michael
------=_NextPart_000_0071_01C34B94.F4ED9600
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When using&nbsp;&lt;td&gt;&lt;a=20
href=3D"&amp;dtml-basepath;/&lt;dtml-var id&gt;"&gt;&lt;dtml-var=20
id&gt;&lt;/a&gt;&lt;/td&gt; the URL is like <A=20
href=3D"file:///c:/temp/admin/test.pdf">file:///c:/temp/admin/test.pdf</A=
>.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I try to open the file but without =
success. What is=20
wrong with the url reference ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Michael</FONT></DIV></BODY></HTML>

------=_NextPart_000_0071_01C34B94.F4ED9600--