[ZBX-9862] IE11 asks for its configuration file Created: 2015 Sep 09  Updated: 2017 May 30  Resolved: 2015 Oct 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 2.2.11rc1, 2.4.7rc1, 3.0.0alpha3

Type: Incident report Priority: Trivial
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: browser, ie
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Since 11 version Internet Explorer asks for its configuration file, which does not exist in Zabbix frontend:

[Wed Sep 09 08:13:31 2015] [error] [client 192.168.3.1] File does not exist: /usr/share/zabbix/browserconfig.xml

It could be ignored by adding "<meta name="msapplication-config" content="none"/>" header option.

More information: https://msdn.microsoft.com/en-us/library/dn320426(v=vs.85).aspx



 Comments   
Comment by Gunars Pujats (Inactive) [ 2015 Sep 17 ]

(1) No translation strings changed.

iivs CLOSED.

Comment by Gunars Pujats (Inactive) [ 2015 Sep 17 ]

Adding a meta tag might or might not work. Here is a comment from experienced user:

We also added this tag, but we still received 404 errors for browserconfig.xml requests all the time.
At the end we decided to do a simple browserconfig.xml and after that we had no problems.

Here is an example of simple config file browserconfig.xml

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
	<msapplication>
	</msapplication>
</browserconfig>

IE looks for it in WEB root directory, so place it there.

Comment by Gunars Pujats (Inactive) [ 2015 Sep 17 ]

Added meta tag

<meta name="msapplication-config" content="none"/>

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-9862

Comment by Ivo Kurzemnieks [ 2015 Oct 05 ]

I understand that this is actually for Win8 and above to pin current URL to Start page. So the error for Win7 comes up when page is being added to favourites and it is not in error.log, but access.log in this following format:

127.0.0.1 - - [05/Oct/2015:16:19:43 +0300] "GET /browserconfig.xml HTTP/1.1" 404 1053 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"

I noticed there is no space before />, but I think it is better to leave as it is given in Microsoft example and no extra special <!--[if !IE]> tags will be added too.

Same problem can be achieved when adding Json RPC API tool to favourites from /misc/jsonrpctool/api.php too, but since we are not officially supporting it and it will be soon removed from SVN, decided to skip adding the code there.

Tested on Win7 IE 11, Win8.1 IE 11, Win10 Edge.

Comment by Ivo Kurzemnieks [ 2015 Oct 06 ]

TESTED.

Comment by Gunars Pujats (Inactive) [ 2015 Oct 09 ]

Fixed in:

  • pre-2.2.11 r56098
  • pre-2.4.7 r56099
  • pre-3.0.0alpha3 (trunk) r56100
Comment by Alexander Vladishev [ 2015 Oct 13 ]

(2) general.browserwarning.php has a own <head> tags. The issue must be fixed also in this file.

gunarspujats RESOLVED in pre-2.2.11 r56098, pre-2.4.7 r56099, pre-3.0.0alpha3 (trunk) r56100, directly in branches.

iivs Personally I find it rather ridiculous to manually find and add browserwarning.php to favorites or pin to start, but ok.

CLOSED

Comment by richlv [ 2015 Oct 13 ]

(3) may i again suggest a bit more user-friendly changelog entry ? currently it says :

added meta tag "msapplication-config" to page header

unless one knows what that tag does, it is impossible to tell that the effect is supposed to be. how about something like this ?

added meta tag "msapplication-config" to prevent MSIE11 requesting browserconfig.xml

or whatever is a more correct version of the intent

gunarspujats RESOLVED in pre-2.2.11 r56098, pre-2.4.7 r56099, pre-3.0.0alpha3 (trunk) r56100.

iivs CLOSED

Comment by richlv [ 2015 Oct 13 ]

(4) a quoted comment above says "Adding a meta tag might or might not work"
was it investigated and found that the tag is sufficient ?

gunarspujats Microsoft documentation says that it's sufficient, but investigation showed that tag is not sufficiant, therefore above is given example of simple config file.

<richlv> the original report was about the 404 errors, thus they would still be there - should we add such an empty xml file then ?

gunarspujats discussed with sasha, default config file will not be included in Zabbix.

<richlv> CLOSED

Generated at Thu Mar 28 23:10:33 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.