chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cornelis Hoeflake (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-371) Not possible to run the dotCMIS with the .NET Client Profile
Date Wed, 11 May 2011 12:43:47 GMT
Not possible to run the dotCMIS with the .NET Client Profile
------------------------------------------------------------

                 Key: CMIS-371
                 URL: https://issues.apache.org/jira/browse/CMIS-371
             Project: Chemistry
          Issue Type: Improvement
          Components: dotcmis
    Affects Versions: DotCMIS 0.2
            Reporter: Cornelis Hoeflake


The Client Profile is much smaller than the Full profile. For client applications this is
a must.

As far as I can see, the full profile is only required for the HttpUtility class, used from
http.cs line 262 and atompub-linkcache.cs line 227. Only the method UrlEncode is used.

HttpUtility.UrlEncode can be replaced by Uri.EscapeDataString.

Note that Uri.EscapeDataString doesn't accept null. So in atompub-linkcache.cs a null check
has to be added, ie: 
result.Append(paramValue == null ? "" : Uri.EscapeDataString(UrlBuilder.NormalizeParameter(paramValue)));


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message