From a9923eacc3c21116f04e3ce867395dead7bd647d Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Thu, 12 Feb 2009 19:27:09 +0000
Subject: [PATCH] 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.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25550 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/ZopePatch.py           |  1 -
 product/ERP5Type/patches/HTTPRequest.py | 32 -------------------------
 2 files changed, 33 deletions(-)
 delete mode 100644 product/ERP5Type/patches/HTTPRequest.py

diff --git a/product/ERP5Type/ZopePatch.py b/product/ERP5Type/ZopePatch.py
index f18957d494..e444b94a03 100644
--- a/product/ERP5Type/ZopePatch.py
+++ b/product/ERP5Type/ZopePatch.py
@@ -47,7 +47,6 @@ from Products.ERP5Type.patches import CMFCoreSkinnable
 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
diff --git a/product/ERP5Type/patches/HTTPRequest.py b/product/ERP5Type/patches/HTTPRequest.py
deleted file mode 100644
index c9bce8f90a..0000000000
--- a/product/ERP5Type/patches/HTTPRequest.py
+++ /dev/null
@@ -1,32 +0,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
-- 
2.30.9