Quantcast
Channel: Forefront TMG and ISA Server forum
Viewing all articles
Browse latest Browse all 3822

Link translation in JSON data returned by an Ajax call through TMG

$
0
0

Hi,

I am in a SP2010 context, behind ForeFront TMG to handle external access.

I have an Ajax call to a WebMethod in my code behind on Server1, which returns an URL to a second web service hosted on another server (Server2). All link translation rules are set, and if I hardcode the needed URL, say in a<a href="internal_name_of_server2"/>, it is successfully rewrited into the public-faced URL of Server2. But within the JSON data argument of the Ajax callback, the URL is returned as is, and I find myself with hyperlinks to the Server2 qualified name, even when accessing my SharePoint site from the outside.

The point is, the Ajax call is enforced to encode data with the gzip algorithm (as far as I can see in firebug, and I can't find any way to set it back to "none"...) and I'm asking myself if, maybe, TMG is unable to perform link translation rules within gzip-compressed data packets ? Is it a setting that I can set in my TMG server ?

Thx.


Viewing all articles
Browse latest Browse all 3822

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>