A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Within a user control I have used:
Request.RawUrland this gives the URL that the user entered.
How do I get the friendly URL for the actual page, or basically the address shown in the browser's address bar, from within a HTTP module?
What I've come up with so far is like this:
But it doesn't work for pages that are set to get their data from another page (under Shortcut/External link). Then I get the URL of the page selected undet that tab, not the address shown in the browser's address bar.
My module is triggered by the Application.BeginRequest event, and it makes no difference to change it to Application.EndRequest.
Is there anyway to achieve this?
Best Regards
Kristoffer Av Ekenstam