Bug Thanked users not showing up in Internet Explorer

Status
Not open for further replies.

mwyrsch

Customer
Hi there

Normally if you click on the number of thanks, you get a popup with the user who thanked. This works great in Chrome and Firefox. For the Internet Explorer you have this:

PHP:
	//If this is IE9, IE10, or IE11 -- we also need to work around the deliberate attempt to break "is IE" logic by the
		//IE dev team -- we need to send type "text/plain". Yes, we know that's not the standard.
		if (
			isset($_SERVER['HTTP_USER_AGENT']) && (
				(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) OR
				(strpos($_SERVER['HTTP_USER_AGENT'], 'Trident') !== false)
			)
		)
		{
			header('Content-type: text/plain; charset=UTF-8');
		}
		else
		{
			header('Content-type: application/json; charset=UTF-8');
		}

It looks like there was a bug in MSIE. Today when I use text/plain, I get only a popup which looks like this:
11-04-_2015_11-16-33.png

When I change it to application/json also for the MSIE, it works. What do you think about this? Could it be, that Microsoft fixed that and we can remove this workaround or do you have more information about that?

Cheers
Marco
 
I'll look into this further when I receive the info requested in your other thread, as I cannot replicate this issue at this time.
 
Status
Not open for further replies.

Legacy Advanced Post Thanks / Like

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
4,029
Customer rating
5.00 star(s) 1 ratings
Back
Top