From a7ae0348cc1788dbc948a64eca22e0b0d02059f9 Mon Sep 17 00:00:00 2001 From: helge Date: Mon, 21 Feb 2005 13:30:26 +0000 Subject: [PATCH] fixed OGo bug #1260 git-svn-id: http://svn.opengroupware.org/SOPE/trunk@586 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-core/NGExtensions/ChangeLog | 6 ++++++ sope-core/NGExtensions/FdExt.subproj/NSString+URLEscaping.m | 5 ++++- sope-core/NGExtensions/Version | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/sope-core/NGExtensions/ChangeLog b/sope-core/NGExtensions/ChangeLog index 17696137..3d86def5 100644 --- a/sope-core/NGExtensions/ChangeLog +++ b/sope-core/NGExtensions/ChangeLog @@ -1,3 +1,9 @@ +2005-02-21 Helge Hess + + * FdExt.subproj/NSString+URLEscaping.m: changed to escape '+' chars + in URLs - this is required since the same methods are used for forms + which treat spaces as "+" (OGo bug #1260) (v4.5.151) + 2005-02-17 Helge Hess * NGBundleManager.m: added some debugging code, minor code cleanups diff --git a/sope-core/NGExtensions/FdExt.subproj/NSString+URLEscaping.m b/sope-core/NGExtensions/FdExt.subproj/NSString+URLEscaping.m index f5d8c53d..eb385924 100644 --- a/sope-core/NGExtensions/FdExt.subproj/NSString+URLEscaping.m +++ b/sope-core/NGExtensions/FdExt.subproj/NSString+URLEscaping.m @@ -54,7 +54,10 @@ static inline BOOL isUrlDigit(unsigned char _c) { } static inline BOOL isUrlSafeChar(unsigned char _c) { switch (_c) { - case '$': case '-': case '_': case '.': case '+': + case '$': case '-': case '_': case '.': +#if 0 /* see OGo bug #1260, required for forms */ + case '+': +#endif case '@': // TODO: not a safe char?! return YES; diff --git a/sope-core/NGExtensions/Version b/sope-core/NGExtensions/Version index 300ba0b3..238d2be0 100644 --- a/sope-core/NGExtensions/Version +++ b/sope-core/NGExtensions/Version @@ -1,6 +1,6 @@ # version -SUBMINOR_VERSION:=150 +SUBMINOR_VERSION:=151 # v4.3.115 requires libFoundation v1.0.59 # v4.2.72 requires libEOControl v4.2.39 -- 2.39.5