Fix error causing empty INBOX listing in Firefox when using an URL with user:password specified (#5400)

pull/5754/head
Aleksander Machniak 8 years ago
parent bcf576c662
commit a4482d27f9

@ -14,6 +14,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where names of downloaded files could be malformed when derived from the message subject (#5404)
- Fix so "All" messages selection is resetted on search reset (#5413)
- Fix bug where folder creation could fail if personal namespace contained more than one entry (#5403)
- Fix error causing empty INBOX listing in Firefox when using an URL with user:password specified (#5400)
RELEASE 1.2.1
-------------

@ -7932,7 +7932,11 @@ function rcube_webmail()
this.update_state = function(query)
{
if (window.history.replaceState)
window.history.replaceState({}, document.title, rcmail.url('', query));
try {
// This may throw security exception in Firefox (#5400)
window.history.replaceState({}, document.title, rcmail.url('', query));
}
catch(e) { /* ignore */ };
};
// send a http request to the server

Loading…
Cancel
Save