<?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 Wrong URL encoding in relative path of tRestClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369197#M132367</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;I observed a strange behaviour in the URL encoding of the tRestClient. A &lt;EM&gt;"?"&lt;/EM&gt;, as the indicator for&amp;nbsp;a query string, is encoded as &lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;%3F"&lt;/EM&gt;, when this part of the URL is within the &lt;EM&gt;relative path&lt;/EM&gt; field. As a result, the &lt;EM&gt;"?"&lt;/EM&gt; is not inerpreted as the beginning of the query string.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The work around was to put the entire URL text in the &lt;EM&gt;URL-field &lt;/EM&gt;then the encoding was correct. But I was wondering if this the desired behaviour of the component or a bug?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Tobi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;EDIT: 2017-12-21&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With the configuration (see attached screenshot)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I receive the following error message:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Exception in component tRESTClient_3 (D365_connectivity_test)&lt;BR /&gt;javax.ws.rs.NotFoundException: HTTP 404 Not Found&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When&amp;nbsp;monitoring the network traffic with Fiddler you can see, that the "?" is encoded to&amp;nbsp;&lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;%3F"&lt;/EM&gt;&lt;/SPAN&gt;&amp;nbsp;(second screenshot). I could only observe this behaviour when having the relative path in the appropriate field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Talend&amp;nbsp;build is: 6.4.1.20170623_1246&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2017 14:04:03 GMT</pubDate>
    <dc:creator>Tobi1</dc:creator>
    <dc:date>2017-12-18T14:04:03Z</dc:date>
    <item>
      <title>Wrong URL encoding in relative path of tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369197#M132367</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;I observed a strange behaviour in the URL encoding of the tRestClient. A &lt;EM&gt;"?"&lt;/EM&gt;, as the indicator for&amp;nbsp;a query string, is encoded as &lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;%3F"&lt;/EM&gt;, when this part of the URL is within the &lt;EM&gt;relative path&lt;/EM&gt; field. As a result, the &lt;EM&gt;"?"&lt;/EM&gt; is not inerpreted as the beginning of the query string.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The work around was to put the entire URL text in the &lt;EM&gt;URL-field &lt;/EM&gt;then the encoding was correct. But I was wondering if this the desired behaviour of the component or a bug?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Tobi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;EDIT: 2017-12-21&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With the configuration (see attached screenshot)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I receive the following error message:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Exception in component tRESTClient_3 (D365_connectivity_test)&lt;BR /&gt;javax.ws.rs.NotFoundException: HTTP 404 Not Found&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When&amp;nbsp;monitoring the network traffic with Fiddler you can see, that the "?" is encoded to&amp;nbsp;&lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;%3F"&lt;/EM&gt;&lt;/SPAN&gt;&amp;nbsp;(second screenshot). I could only observe this behaviour when having the relative path in the appropriate field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Talend&amp;nbsp;build is: 6.4.1.20170623_1246&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 14:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369197#M132367</guid>
      <dc:creator>Tobi1</dc:creator>
      <dc:date>2017-12-18T14:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong URL encoding in relative path of tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369198#M132368</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
 &lt;A href="https://community.qlik.com/s/profile/005390000063cJSAAY"&gt;@Tobi&lt;/A&gt; wrote:
 &lt;BR /&gt; 
 &lt;P&gt;Hello Everyone,&lt;/P&gt; 
 &lt;P&gt;I observed a strange behaviour in the URL encoding of the tRestClient. A &lt;EM&gt;"?"&lt;/EM&gt;, as the indicator for&amp;nbsp;a query string, is encoded as &lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;%3F"&lt;/EM&gt;, when this part of the URL is within the &lt;EM&gt;relative path&lt;/EM&gt; field. As a result, the &lt;EM&gt;"?"&lt;/EM&gt; is not inerpreted as the beginning of the query string.&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN&gt;The work around was to put the entire URL text in the &lt;EM&gt;URL-field &lt;/EM&gt;then the encoding was correct. But I was wondering if this the desired behaviour of the component or a bug?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN&gt;Tobi&lt;/SPAN&gt;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Could you please indicate on which talend build version you got this issue? Would you mind uploading some trouble screenshots into forum so that we can make a testing on it to see if it repro on our side.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369198#M132368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-21T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong URL encoding in relative path of tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369199#M132369</link>
      <description>&lt;P&gt;I've updated my initial post.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 14:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369199#M132369</guid>
      <dc:creator>Tobi1</dc:creator>
      <dc:date>2017-12-21T14:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong URL encoding in relative path of tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369200#M132370</link>
      <description>&lt;P&gt;Have the exact same problem. &lt;/P&gt;&lt;P&gt;Once the Endpoint contains a question mark "?", it gets converted to %3f when executed via TAC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution now was to put all the endpoint including relative path in the URL field. There seems that it does not get converted to ASCII &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 11:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wrong-URL-encoding-in-relative-path-of-tRestClient/m-p/2369200#M132370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T11:49:17Z</dc:date>
    </item>
  </channel>
</rss>

