You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Cornelis Hoeflake (JIRA)" <ji...@apache.org> on 2011/05/11 14:43:47 UTC
[jira] [Created] (CMIS-371) Not possible to run the dotCMIS with
the .NET Client Profile
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
[jira] [Resolved] (CMIS-371) Not possible to run the dotCMIS with
the .NET Client Profile
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-371.
---------------------------------
Resolution: Fixed
Fix Version/s: DotCMIS 0.3
> 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
> Assignee: Florian Müller
> Fix For: DotCMIS 0.3
>
>
> 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
[jira] [Assigned] (CMIS-371) Not possible to run the dotCMIS with
the .NET Client Profile
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller reassigned CMIS-371:
-----------------------------------
Assignee: Florian Müller
> 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
> Assignee: Florian Müller
>
> 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