Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
DotCMIS 0.2
-
None
Description
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)));