We have an application which we redirect to for specific websites. It performs an AD update and updates an internal database, then it redirects to the URL. The redirect only uses the base URL, not the one the user submitted. We want it to use the full URL.
Example: The user requests the full 'goto' URL (e.g., https://www.dropbox.com/file/to/be/downloaded). Since dropbox.com is a website that we run through the app, our rules take effect and the app is executed.
After the internal app is run and the user is added to the database, the proxy redirects to the requested URL. However this always redirects to just the base URL (https://www.dropbox.com).. Once the user has gone through the app once he can resubmit the 'goto' URL and get there, but we don't want them to have to re-enter the full URL. We want to pass it back to Chrome, etc.
I've tried using UrlManipulation.SetParameter and a User-Defined.URLsave value, as well as trying to feed URL.Raw in the Redirect string. None of this works.
This is an example rule:
Criteria
URL.Host.BelongsToDomains (Dropbox URLs) equals true AND
Authentication.UserGroups does not contain "DevDropbox"
Action
Redirect<uses default 'Redirected' template>
Events
Set Redirect.URL = "https://our_app.company.com?SERVICE=Dropbox"
+ "&URL="
+ URL
I've also used 'URL.Raw' in place of 'URL' in the above event. It just concatenates the base URL again.
This is in our dev proxy where we are testing SSL decryption, but the URL attribute contents are stripped to just the base URL very early in the rule sets.
We are using MWG 7.8.2.3 on premise.
Thanks for your assistance!
Jeri