Bug #58446 if R/O user saves settings tab, no error message but broken HTML appears
| Submitted: | 24 Nov 2010 8:46 | Modified: | 13 Jan 2011 18:44 |
|---|---|---|---|
| Reporter: | Mario Beck | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Enterprise Monitor: Server | Severity: | S3 (Non-critical) |
| Version: | 2.3.0.2036 | OS: | Solaris (10, SPARC 64 bit) |
| Assigned to: | Josh Sled | CPU Architecture: | Any |
| Tags: | read only, save, settings | ||
[24 Nov 2010 8:46]
Mario Beck
[24 Nov 2010 9:49]
Carsten Segieth
checked with current development build 2.3.1.2040 I could not reproduce the problem: - logged in with R/O user - change to Settings tab - any attempt to use a 'save' on this page results in a correct message ' Access Denied: You do not have permissions to access this resource.'
[24 Nov 2010 10:13]
Enterprise Tools JIRA Robot
Carsten Segieth writes: also with 2.3.0.2036 I could not reproduce this problem. I always get the correct message. Can you please give more hints and then perhaps re-open this bug. I created a R/O user, logged out and logged in with this new user. Then all attempts to use 'save' on the 'Settings' page resulted in a correct message.
[26 Nov 2010 9:19]
Mario Beck
I tested some combinations: Firefox on MacOS (two machines) does not work Firefox in XP does not work Safari on MacOS (two machines) does not work IE on XP (two machines) works fine. I still suspect the mime type to be wrong or missing. In Firefox I checked the content. FF goes in quirk mode because of document type "text/plain". All other pages, that are displayed correctly are "text/html". Probably the appserver does not send a mime type in its response. So the browser is forced to do mime sniffing by inspecting the first bytes. IE is quite good at mime sniffing (which creates some security vulnerabilities). FF probably is more cautious and stays on the safe side of "text/plain". Interestingly the first bytes of the page are newlines. Does this confuse the sniffer? Anyway: Not sending a mime type in the http response would not be good style for the application.
[13 Jan 2011 18:43]
Enterprise Tools JIRA Robot
Marcos Palacios writes: Now checked with current development build 2.3.2.2050 and I could not reproduce the problem: * logged in with R/O user * change to Settings tab * any attempt to use a 'save' on this page results in the correct message: 'Access Denied You do not have permissions to access this resource.' I tested these combinations: Firefox 3.6 on Mac OS X: works fine Safari 5.0 on Mac OS X: works fine Firefox 3.6 in Windows XP: works fine IE 8 on Windows XP: works fine
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.