Bugs item #491997, was opened at 2001-12-12 05:35
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=491997&group_id=4866

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Geoff Talvola (gtalvola)
Assigned to: Stuart Donaldson (stuartd)
Summary: bug in psp:include path handling

Initial Comment:
(Snipped from an email by Ian Bicking on webware-
discuss:)

I believe this is a bug:


<psp:include path="/something.psp">


Compiles to:


__pspincludepath = self.transaction().request
().urlPathDir() + "/something.psp"
self.transaction().application().includeURL
(self.transaction(), __pspincludepath)


But /something.psp is not a relative path.  
os.path.join or something
should of that sort should be used.


  Ian


----------------------------------------------------------------------

Comment By: Stuart Donaldson (stuartd)
Date: 2003-01-16 00:19

Message:
Logged In: YES 
user_id=326269

includes if absolute, are relative to the current context.

----------------------------------------------------------------------

Comment By: Geoff Talvola (gtalvola)
Date: 2003-01-15 12:52

Message:
Logged In: YES 
user_id=88162

I'm assigning this to Stuart to test (if he has a chance),
because this will be affected by the changes he's making to
Application.includeURL().

Seems to me that psp:include should do the same thing as
self.includeURL() so I'm not sure why the generated code
isn't just:

self.transaction().application().includeURL(self.transaction(),
"/something.psp")


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104866&aid=491997&group_id=4866


-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to