You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by ga...@apache.org on 2014/12/12 13:05:52 UTC
svn commit: r1644864 -
/chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISURLUtil.m
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;
}