Unauthenticated user Tweet with long url showing 'Internet Explorer cannot display the webpage' in IE8


#1

Hi,

We are using tweet button on our website. We have long urls (500 to 600 characters) on the site. As a unauthenticated user when user clicks on tweet button, the 302 redirect url to the Twitter Login (/intent/session) has 4 long parameters, as IE8 supports only 2083 characters is there any way to remove the original referer or return_to parameters from the redirect url.

Below is the sample redirect url captured using fidler tool.

https://twitter.com/intent/session?original_referer=https%3A%2F%2Fhostname.com%2Fpagepath%2F!ut%2Fp%2Fb1%2FrVLLboMwEPyaHK3dgGPIkUiIhxKihDYNXCIDhpISQ4LVx9_XpL30ENFU9WlGWs_OjA0p7CGV_LWuuKpbyZuBp-wwtT3HD2IM0PddDBbeYvvIdugxCk-QQppL1alnSPpcHPJWKiHVQcgJfuMJXkRfFxrVvBlIxpXoSa8XyaqfoAaCdO2buJCCfwyCHa9Eoe9U8sryuoBEZDktGWOEs4ITmlFKbNMoydyiuWAZNcwi034T7RdvHAfH4sRCfkUaUbkOzD10_XCNgfewMTEwNxjFjmMiMgh_LvK2loFBuHOX68XUQNsYjNbH8zl1dHtDS-8K9r-pDyK_PQlIdE7rZpDVDOI7ixsRxP8WNO4WDMfe7q-Vjv_I7nSyj-WSvpQrZUcR4ZmN5qypPgEv4uNi%2Fdl4%2Fd5%2FL2dBISEvZ0FBIS9nQSEh%2F
&return_to=%2Fintent%2Ftweet%3Foriginal_referer%3Dhttps%253A%252F%252Fhostname.com%252Fpagepath%252F%21ut%252Fp%252Fb1%252FrVLLboMwEPyaHK3dgGPIkUiIhxKihDYNXCIDhpISQ4LVx9_XpL30ENFU9WlGWs_OjA0p7CGV_LWuuKpbyZuBp-wwtT3HD2IM0PddDBbeYvvIdugxCk-QQppL1alnSPpcHPJWKiHVQcgJfuMJXkRfFxrVvBlIxpXoSa8XyaqfoAaCdO2buJCCfwyCHa9Eoe9U8sryuoBEZDktGWOEs4ITmlFKbNMoydyiuWAZNcwi034T7RdvHAfH4sRCfkUaUbkOzD10_XCNgfewMTEwNxjFjmMiMgh_LvK2loFBuHOX68XUQNsYjNbH8zl1dHtDS-8K9r-pDyK_PQlIdE7rZpDVDOI7ixsRxP8WNO4WDMfe7q-Vjv_I7nSyj-WSvpQrZUcR4ZmN5qypPgEv4uNi%252Fdl4%252Fd5%252FL2dBISEvZ0FBIS9nQSEh%252F%26text%3DSave%2520Power%2520Days%2520%257C%2520Savings%2520%2526%2520Incentives%2520%257C%2520Your%2520Home%2520%257C%2520Home%2520-%2520SCE%26tw_p%3Dtweetbutton%26url%3Dhttps%253A%252F%252F252Fhostname.com%252Fpagepath%252F%21ut%252Fp%252Fb0%252F04_Sj9CPykssy0xPLMnMz0vMAfGjzOIt3Q1cPbz8DTzdQwKNDTyNAw38gh0djQ0MzPSDU_P0C7IdFQElEpB5%252F%253F1dmy%2526urile%253Dwcm%25253apath%25253a%252Fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
&shortened_url=https%3A%2F%2F252Fhostname.com%252Fpagepath%2F%21ut%2Fp%2Fb0%2F04_Sj9CPykssy0xPLMnMz0vMAfGjzOIt3Q1cPbz8DTzdQwKNDTyNAw38gh0djQ0MzPSDU_P0C7IdFQElEpB5%2F%3F1dmy%26urile%3Dwcm%253apath%253a%2Fparamvalue
&text=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
&url=https%3A%2F%2Fhostname/pagepath%2F%21ut%2Fp%2Fb0%2F04_Sj9CPykssy0xPLMnMz0vMAfGjzOIt3Q1cPbz8DTzdQwKNDTyNAw38gh0djQ0MzPSDU_P0C7IdFQElEpB5%2F%3F1dmy%26urile%3Dwcm%253apath%253a%2Fxxxx%2FContent%XXXXXXXXXXXXXXXXXXXXXX


#2