[Zope-dev] Zope tests: 8 OK

2006-02-02 Thread Zope tests summarizer
Summary of messages to the zope-tests list.
Period Wed Feb  1 12:01:01 2006 UTC to Thu Feb  2 12:01:01 2006 UTC.
There were 8 messages: 8 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:03:07 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004154.html

Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:04:37 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004155.html

Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:06:07 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004156.html

Subject: OK : Zope-2_7-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:07:37 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004157.html

Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:09:07 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004158.html

Subject: OK : Zope-2_8-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:10:37 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004159.html

Subject: OK : Zope-2_9-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:12:07 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004160.html

Subject: OK : Zope-trunk Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Wed Feb  1 21:13:38 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-February/004161.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] CopySupport and cookies

2006-02-02 Thread Seb Bacon
Hi,

Using inside-out virtual hosting (and other forms of URL munging) can
make copy-and-paste break.  For example, an object a.b.c addressed as

 http://foo.com/magic-string/a/b/c

will not be copiable because CopySupport uses BASEPATH1 as the Cookie path:

 def cookie_path(request):
 # Return a path value for use in a cookie that refers
 # to the root of the Zope object space.
 return request['BASEPATH1'] or /

is there a good reason why this can't just return / as the cookie path?

Seb

-- 

   [] j a m k i t
 web solutions for charities

seb bacon
T:  020 7549 0520
F:  020 7490 1152
M:  07968 301 336
W: www.jamkit.com


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] CopySupport and cookies

2006-02-02 Thread Dieter Maurer
Seb Bacon wrote at 2006-2-2 16:54 +:
Using inside-out virtual hosting (and other forms of URL munging) can
make copy-and-paste break.  For example, an object a.b.c addressed as

 http://foo.com/magic-string/a/b/c

will not be copiable because CopySupport uses BASEPATH1 as the Cookie path:

 def cookie_path(request):
 # Return a path value for use in a cookie that refers
 # to the root of the Zope object space.
 return request['BASEPATH1'] or /

is there a good reason why this can't just return / as the cookie path?

I do not see the problem. Can you explain it in a bit more detail?

-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )