<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Nonescaped URL; creating an Webdav URL for Windows Explorer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117492#M82972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want my users to be able to connect to a space over webdav by using the Network places in Windows Explorer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i use "View in WebDAV" url from the Alfresco webclient on a space with has whitespaces in the name i get an escaped&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;url i.e.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://alfreco.example.com/alfresco/webdav/Test/I70001%20Test%20Project" rel="nofollow noopener noreferrer"&gt;http://alfreco.example.com/alfresco/webdav/Test/I70001%20Test%20Project&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i enter this escaped url a Network Location in the Explorer the escaped section is skipped and the following Network&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;location is added:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://alfreco.example.com/alfresco/webdav/Test/" rel="nofollow noopener noreferrer"&gt;http://alfreco.example.com/alfresco/webdav/Test/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a known bug in Explorer, see &lt;/SPAN&gt;&lt;A href="http://greenbytes.de/tech/webdav/webfolder-client-list.html#issue-connect-parent-coll-with-blanks" rel="nofollow noopener noreferrer"&gt;http://greenbytes.de/tech/webdav/webfolder-client-list.html#issue-connect-parent-coll-with-blanks&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i manually remove the escaped sections in the url then it is correctly added as a Network Location in the Explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a possibility to create a unescaped link or string of a space in Alfresco. I tried using a FTL template to recreate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the webdav url&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– snip –&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#assign webdavurl="&lt;/SPAN&gt;&lt;A href="http://alfreco.example.com/alfresco/webdav" rel="nofollow noopener noreferrer"&gt;http://alfreco.example.com/alfresco/webdav&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;b&amp;gt;Network location:&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;${webdavurl}/${space.displayPath}/${space.name}&amp;lt;/td&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– snip –&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but this gives me the following url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://alfreco.example.com/alfresco/webdav/Company" rel="nofollow noopener noreferrer"&gt;http://alfreco.example.com/alfresco/webdav/Company&lt;/A&gt;&lt;SPAN&gt; Home/Test/I70001 Test Project&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Company Home" gets inserted in the url by ${space.displayPath}, when looking at the Webdav url, "Company Home" is not part&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the url. Is there a way to get a unescaped url or the path of the space without the "Company Home" part?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Regards Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2007 11:47:59 GMT</pubDate>
    <dc:creator>robses</dc:creator>
    <dc:date>2007-08-10T11:47:59Z</dc:date>
    <item>
      <title>Nonescaped URL; creating an Webdav URL for Windows Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117492#M82972</link>
      <description>Hello all, I want my users to be able to connect to a space over webdav by using the Network places in Windows ExplorerWhen i use "View in WebDAV" url from the Alfresco webclient on a space with has whitespaces in the name i get an escapedurl i.e.&amp;nbsp; http://alfreco.example.com/alfresco/webdav/Test/I70</description>
      <pubDate>Fri, 10 Aug 2007 11:47:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117492#M82972</guid>
      <dc:creator>robses</dc:creator>
      <dc:date>2007-08-10T11:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nonescaped URL; creating an Webdav URL for Windows Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117493#M82973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could use a simple substring operation to remove the "/Company Home" part of the displaypath. FreeMarker has a substring and you can also use array access to the elements in a string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 11:43:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117493#M82973</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-08-15T11:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nonescaped URL; creating an Webdav URL for Windows Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117494#M82974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to add to Kevin's comment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If doing string substitution on the displaypath, ensure you use &lt;/SPAN&gt;&lt;STRONG&gt;companyhome.name&lt;/STRONG&gt;&lt;SPAN&gt; rather than hard-coding "Company Home" in your Freemarker script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 12:18:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117494#M82974</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-08-15T12:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nonescaped URL; creating an Webdav URL for Windows Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117495#M82975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks you for the pointer in using the substring method, feeling myself a bit ashamed i didn't think of this. When finished I will post the Freemarker template in this thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; regards Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 13:43:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nonescaped-url-creating-an-webdav-url-for-windows-explorer/m-p/117495#M82975</guid>
      <dc:creator>robses</dc:creator>
      <dc:date>2007-08-31T13:43:15Z</dc:date>
    </item>
  </channel>
</rss>

