3
Views
2
Comments
GetURL change?
Question
The behavior of GetURL() has changed in the latest update to 5.1.19. Could someone please describe to me *exactly* what changed? The change has broken my application, and I need to implement a workaround.

Thanks!

J.Ja
2011-08-23 22-04-05
Tiago Simões
Staff
Hi Justin,

I don't know if this helps, but looking at the code of the extension the only thing it does is to return HttpContext.Current.Request.Url.ToString().
If you are using URL redirectors you might want to take a look into the GetRawURL() method instead (that does not return the server name, you might need to add it yourself).

Cheers,
Tiago Simões
2019-11-12 17-31-26
Justin James
 
MVP
Thanks Tiago! I think what really happened here, is that I changed some of my testing configurations and revealed a problem which I had never hit before with my reverse proxy. Fixing that issue also led to a fix for a number of other things that I had been working around for some time now, so things are actually all better all around!

J.Ja
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.