<?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 Re: Qlik sense is converting '%' into '%25 ' for URL when it gets redirected in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724590#M55154</link>
    <description>&lt;P&gt;This may be because '%' is not a valid URL character.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid URL Characters&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN&gt;There are relatively few valid characters in a URL: uppercase and lowercase letters of the alphabet; digits “0” through “9”; special characters: dash, underscore, period, exclamation point, asterisk, apostrophe and opening and closing parentheses; and reserved characters: percent sign, dollar sign, ampersand, plus sign, comma, forward slash, colon, semi-colon, equal sign, question mark and “@” symbol. All other characters must be encoded using a percent sign and their assigned hexadecimal numbers. Reserved characters, such as the percent sign, are only valid to indicate special meaning, and they must be encoded when they are used without their special meaning. &lt;STRONG&gt;For example, to include a percent sign in a URL, you must encode it as “%25.”&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.fullhost.com/blog/what-does-20-mean-in-a-web-address/" target="_blank" rel="noopener"&gt;https://www.fullhost.com/blog/what-does-20-mean-in-a-web-address/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://krypted.com/utilities/html-encoding-reference/" target="_blank" rel="noopener"&gt;https://krypted.com/utilities/html-encoding-reference/&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;If you go to google and search for &lt;STRONG&gt;%&lt;/STRONG&gt; you will notice the generated URL has the query parameter listed like so:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.google.com/search?q=%25" target="_blank" rel="noopener"&gt;https://www.google.com/search?q=%25&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(&lt;EM&gt;you have to look for it as google will include several other parameters, but you are looking for "&lt;STRONG&gt;q=&lt;/STRONG&gt;"&lt;/EM&gt; )&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 16:54:26 GMT</pubDate>
    <dc:creator>QlikTom</dc:creator>
    <dc:date>2020-07-02T16:54:26Z</dc:date>
    <item>
      <title>Qlik sense is converting '%' into '%25 ' for URL when it gets redirected</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724586#M55153</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am getting this issue like all the special characters are changing while redirecting to the browser.&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;Assume I have a link&amp;nbsp;&amp;nbsp;&lt;A href="http://www.goo%le.com" target="_blank"&gt;mywww.goo%le.com&lt;/A&gt;&amp;nbsp;, when it gets redirected to browser, '%' is converted itself to '%25'.&lt;/P&gt;&lt;P&gt;Please help with some solution.&lt;/P&gt;&lt;P&gt;Note: I am getting that URL Data from SQL server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724586#M55153</guid>
      <dc:creator>Sai_Mohan</dc:creator>
      <dc:date>2024-11-16T01:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense is converting '%' into '%25 ' for URL when it gets redirected</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724590#M55154</link>
      <description>&lt;P&gt;This may be because '%' is not a valid URL character.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid URL Characters&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;&lt;SPAN&gt;There are relatively few valid characters in a URL: uppercase and lowercase letters of the alphabet; digits “0” through “9”; special characters: dash, underscore, period, exclamation point, asterisk, apostrophe and opening and closing parentheses; and reserved characters: percent sign, dollar sign, ampersand, plus sign, comma, forward slash, colon, semi-colon, equal sign, question mark and “@” symbol. All other characters must be encoded using a percent sign and their assigned hexadecimal numbers. Reserved characters, such as the percent sign, are only valid to indicate special meaning, and they must be encoded when they are used without their special meaning. &lt;STRONG&gt;For example, to include a percent sign in a URL, you must encode it as “%25.”&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.fullhost.com/blog/what-does-20-mean-in-a-web-address/" target="_blank" rel="noopener"&gt;https://www.fullhost.com/blog/what-does-20-mean-in-a-web-address/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://krypted.com/utilities/html-encoding-reference/" target="_blank" rel="noopener"&gt;https://krypted.com/utilities/html-encoding-reference/&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="western"&gt;If you go to google and search for &lt;STRONG&gt;%&lt;/STRONG&gt; you will notice the generated URL has the query parameter listed like so:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.google.com/search?q=%25" target="_blank" rel="noopener"&gt;https://www.google.com/search?q=%25&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(&lt;EM&gt;you have to look for it as google will include several other parameters, but you are looking for "&lt;STRONG&gt;q=&lt;/STRONG&gt;"&lt;/EM&gt; )&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 16:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724590#M55154</guid>
      <dc:creator>QlikTom</dc:creator>
      <dc:date>2020-07-02T16:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense is converting '%' into '%25 ' for URL when it gets redirected</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724599#M55157</link>
      <description>&lt;P&gt;Thanks For Replying&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/87175"&gt;@QlikTom&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;Is it Qlik Issue or HTML Encode Issue? . Because I got that URL Column from Html.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So everyone is telling it like qlik Issue, Becoz If I try manually, Copying that URL to a browser then it is working, But error comes, when I directly click on that URL From My Qlik Report.&lt;/P&gt;&lt;P&gt;Is it doable in Qlik Sense?&lt;/P&gt;&lt;P&gt;Thanks In Advance&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 17:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724599#M55157</guid>
      <dc:creator>Sai_Mohan</dc:creator>
      <dc:date>2020-07-02T17:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense is converting '%' into '%25 ' for URL when it gets redirected</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724624#M55164</link>
      <description>&lt;P&gt;I am going to assume you are using URLs in a table chart:&lt;BR /&gt;&lt;BR /&gt;In my testing, Qlik Sense will convert special characters to their appropriate HTML entity code if the entity code is &lt;STRONG&gt;not used&lt;/STRONG&gt;&amp;nbsp;in the data and pass along the URL as-is if it &lt;STRONG&gt;is used&lt;/STRONG&gt; in the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is to say, both the links in the example below, produce the same result when a new tab opens.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is typically not an issue as doing otherwise would produce an invalid URL.&amp;nbsp;&lt;BR /&gt;As far as I know, there is no domain name with a '%' sign it it such as your example, so there may be a specific context I am missing.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikTom_0-1593713309355.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36852iA98FA7E50BAECBF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikTom_0-1593713309355.png" alt="QlikTom_0-1593713309355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;result of clicking Key #1 or Key #2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikTom_0-1593714118668.png" style="width: 684px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36854i29F33E01571331AD/image-dimensions/684x106?v=v2" width="684" height="106" role="button" title="QlikTom_0-1593714118668.png" alt="QlikTom_0-1593714118668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 18:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724624#M55164</guid>
      <dc:creator>QlikTom</dc:creator>
      <dc:date>2020-07-02T18:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense is converting '%' into '%25 ' for URL when it gets redirected</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724630#M55166</link>
      <description>&lt;P&gt;Side note:&lt;BR /&gt;&lt;BR /&gt;The issue may not be the conversion of the HTML entity.&lt;BR /&gt;If I do not include the protocol (http:// or &lt;A href="https://)" target="_blank"&gt;https://)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;like so:&lt;BR /&gt;&lt;A href="http://www.google.com/search?q=%" target="_blank"&gt;www.google.com/search?q=%&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Qlik will assume http://&lt;BR /&gt;&lt;BR /&gt;This is fine for google, as it automatically redirects http:// to https://&lt;BR /&gt;&lt;BR /&gt;This is not necessarily true of all domains. It has to be configured to do so.&lt;BR /&gt;&lt;BR /&gt;Based on your description, that likely is not your issue, but it may be for some.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 18:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724630#M55166</guid>
      <dc:creator>QlikTom</dc:creator>
      <dc:date>2020-07-02T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense is converting '%' into '%25 ' for URL when it gets redirected</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724722#M55179</link>
      <description>&lt;P&gt;Thanks For Replying&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/87175"&gt;@QlikTom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have different URL, which is confidential so I am unable to share with you.&lt;/P&gt;&lt;P&gt;In the middle of the URL, we have NAME like ' Sample%2352'.&amp;nbsp; &amp;nbsp;Here, That name is getting converted to 'Sample%252352'.&lt;/P&gt;&lt;P&gt;So,&amp;nbsp; People think there is issue with Qlik report and asked me to do change that and try to get solution for that.&lt;/P&gt;&lt;P&gt;Please let me know, Is there any other solution for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 05:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724722#M55179</guid>
      <dc:creator>Sai_Mohan</dc:creator>
      <dc:date>2020-07-03T05:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense is converting '%' into '%25 ' for URL when it gets redirected</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724801#M55190</link>
      <description>&lt;P&gt;As far as I know, there is no way to override that behaviour.&lt;BR /&gt;&lt;BR /&gt;This is, arguably,&amp;nbsp; for good reason. If you click on one of the links below you will see what happens to your sample value if '%' symbols are not correctly encoded.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;%23&lt;/STRONG&gt; happens to be the HTML Entity code for a '&lt;STRONG&gt;#&lt;/STRONG&gt;' symbol.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bing Test:&lt;BR /&gt;&lt;A href="https://www.bing.com/search?q=Sample%2352" target="_blank" rel="noopener"&gt;https://www.bing.com/search?q=Sample%2352&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikTom_0-1593774469436.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36890i931675D434C49FCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikTom_0-1593774469436.png" alt="QlikTom_0-1593774469436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Google Test:&lt;BR /&gt;&lt;A href="https://www.google.com/search?q=Sample%2352" target="_blank" rel="noopener"&gt;https://www.google.com/search?q=Sample%2352&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikTom_1-1593774501538.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36891i1BE2D30D347EE539/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikTom_1-1593774501538.png" alt="QlikTom_1-1593774501538.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking at the results, it may be the issue is that your URL is &lt;EM&gt;already&lt;/EM&gt; HTML encoded in the datasource.&lt;BR /&gt;In that case, we are running into a &lt;STRONG&gt;double encoding&lt;/STRONG&gt; situation.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is an easy fix if this is the problem! Just use &lt;A href="https://help.qlik.com/en-US/sense/latest/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/MapSubstring.htm" target="_blank" rel="noopener"&gt;MapSubString&lt;/A&gt; to do a find and replace in the load script to remove HTML Entity Codes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;//HTML Entity mapping table
HTML_map:
mapping load * inline [
MatchField,ReplacementValue
%23,#
];

//use MapSubString Function to replace HTML Entity Codes
Load
	MapSubString('HTML_map',[YourUrlField]) as URL,
....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 11:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-is-converting-into-25-for-URL-when-it-gets-redirected/m-p/1724801#M55190</guid>
      <dc:creator>QlikTom</dc:creator>
      <dc:date>2020-07-03T11:24:20Z</dc:date>
    </item>
  </channel>
</rss>

