<?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>Question Re: SAPUI5 get current browser URL in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273578#M4597907</link>
    <description>&lt;P&gt;As long as you only access window.location.href in a reading manner, it's fine. If you try to manipulate it and assign it a different value, it could be potentially caught by some security app scan.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 14:49:35 GMT</pubDate>
    <dc:creator>leoirudayam</dc:creator>
    <dc:date>2020-11-23T14:49:35Z</dc:date>
    <item>
      <title>SAPUI5 get current browser URL</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaq-p/12273573</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
  &lt;P&gt;Is there a better way to get the browser URL rather than using '&lt;EM&gt;window.location.href&lt;/EM&gt;'. Since href is being recognized by any security apps as something exploitable and since it is open for manipulation in debug, we would like to use something more secure. Waiting your help &amp;amp; suggestions..&lt;/P&gt;
  &lt;P&gt;Best,&lt;/P&gt;
  &lt;P&gt;Merve &lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 14:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaq-p/12273573</guid>
      <dc:creator>former_member2654</dc:creator>
      <dc:date>2020-11-19T14:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 get current browser URL</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273574#M4597903</link>
      <description>&lt;P&gt; your whole js code is open for manipulation, &lt;/P&gt;&lt;P&gt;why you worried about '&lt;EM&gt;window.location.href&lt;/EM&gt;'?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 14:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273574#M4597903</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2020-11-19T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 get current browser URL</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273575#M4597904</link>
      <description>&lt;P&gt;Using  'href' is the only exploitable statement that we came across in the security check of our apps. That's why we focused on this statement specifically. The rest of the code is already as they should be in js, but this is something which can be improved.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 14:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273575#M4597904</guid>
      <dc:creator>former_member2654</dc:creator>
      <dc:date>2020-11-19T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 get current browser URL</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273576#M4597905</link>
      <description>&lt;P&gt;Jun Wu is right. your whole JS is open for manipulation. But depending on the security apps that recognise location.href as insecure, maybe &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;window["loca"+"tion"]["hr"+"ef"]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;will be OK &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 16:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273576#M4597905</guid>
      <dc:creator>sergei-u-niq</dc:creator>
      <dc:date>2020-11-19T16:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 get current browser URL</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273577#M4597906</link>
      <description>&lt;P&gt;what your code does with the window.location.href?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 16:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273577#M4597906</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2020-11-19T16:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 get current browser URL</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273578#M4597907</link>
      <description>&lt;P&gt;As long as you only access window.location.href in a reading manner, it's fine. If you try to manipulate it and assign it a different value, it could be potentially caught by some security app scan.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 14:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-get-current-browser-url/qaa-p/12273578#M4597907</guid>
      <dc:creator>leoirudayam</dc:creator>
      <dc:date>2020-11-23T14:49:35Z</dc:date>
    </item>
  </channel>
</rss>

