chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gavincornw...@apache.org
Subject svn commit: r1644864 - /chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISURLUtil.m
Date Fri, 12 Dec 2014 12:05:52 GMT
Author: gavincornwell
Date: Fri Dec 12 12:05:52 2014
New Revision: 1644864

URL: http://svn.apache.org/r1644864
Log:
Fixed issue in CMISURLUtil that can cause a crash.

Modified:
    chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISURLUtil.m

Modified: chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISURLUtil.m
URL: http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISURLUtil.m?rev=1644864&r1=1644863&r2=1644864&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISURLUtil.m (original)
+++ chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISURLUtil.m Fri Dec 12 12:05:52 2014
@@ -38,7 +38,7 @@ NSString * const kCMISRFC3986Reserved =
 
 + (NSString *)urlStringByAppendingParameter:(NSString *)parameterName value:(NSString *)parameterValue
urlString:(NSString *)urlString
 {
-    if (parameterName == nil || parameterValue == nil) {
+    if (parameterName == nil || parameterValue == nil || urlString == nil) {
         return urlString;
     }
 



Mime
View raw message