[Erp5-report] r25550 - in /erp5/trunk/products/ERP5Type: ZopePatch.py patches/HTTPRequest.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 12 20:27:10 CET 2009


Author: kazuhiko
Date: Thu Feb 12 20:27:09 2009
New Revision: 25550

URL: http://svn.erp5.org?rev=25550&view=rev
Log:
this patch is no longer required since we no longer support Zope 2.7 and we never provided Zope 2.8.x packages lesser than 2.8.7.

Removed:
    erp5/trunk/products/ERP5Type/patches/HTTPRequest.py
Modified:
    erp5/trunk/products/ERP5Type/ZopePatch.py

Modified: erp5/trunk/products/ERP5Type/ZopePatch.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/ZopePatch.py?rev=25550&r1=25549&r2=25550&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/ZopePatch.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/ZopePatch.py [utf8] Thu Feb 12 20:27:09 2009
@@ -47,7 +47,6 @@
 from Products.ERP5Type.patches import CMFCoreSkinsTool
 from Products.ERP5Type.patches import CMFBTreeFolder
 from Products.ERP5Type.patches import OFSFolder
-from Products.ERP5Type.patches import HTTPRequest
 from Products.ERP5Type.patches import Connection
 from Products.ERP5Type.patches import copy_reg_patch
 from Products.ERP5Type.patches import PersistencePatch

Removed: erp5/trunk/products/ERP5Type/patches/HTTPRequest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/HTTPRequest.py?rev=25549&view=auto
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/HTTPRequest.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/HTTPRequest.py (removed)
@@ -1,32 +1,0 @@
-##############################################################################
-#
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
-# Copyright (c) 2002,2005 Nexedi SARL and Contributors. All Rights Reserved.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE
-#
-##############################################################################
-
-# monkeypatch to fix colon (:) in password
-# remove once zope is ipdated to >=2.8.7
-import sys
-from ZPublisher.HTTPRequest import HTTPRequest, base64
-from Acquisition import aq_base
-
-def ERP5_authUserPW(self):
-        global base64
-        auth=self._auth
-        if auth:
-            if auth[:6].lower() == 'basic ':
-                if base64 is None: import base64
-                [name,password] = \
-                    base64.decodestring(auth.split()[-1]).split(':', 1)
-                return name, password
-
-HTTPRequest._authUserPW = ERP5_authUserPW




More information about the Erp5-report mailing list