Skip to content

Commit

Permalink
Fix error causing empty INBOX listing in Firefox when using an URL wi…
Browse files Browse the repository at this point in the history
…th user:password specified (#5400)
  • Loading branch information
alecpl committed Aug 29, 2016
1 parent defdf84 commit ce0c42e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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
-------------
Expand Down
6 changes: 5 additions & 1 deletion program/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8055,7 +8055,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
Expand Down

0 comments on commit ce0c42e

Please sign in to comment.