mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1009264 - Strip trailing slash from services.sync.tokenServerURI. r=ckarlof
This commit is contained in:
parent
f31a524186
commit
0d7b238760
@ -441,6 +441,9 @@ this.BrowserIDManager.prototype = {
|
||||
// Refresh the sync token for our user.
|
||||
_fetchTokenForUser: function() {
|
||||
let tokenServerURI = Svc.Prefs.get("tokenServerURI");
|
||||
if (tokenServerURI.endsWith("/")) { // trailing slashes cause problems...
|
||||
tokenServerURI = tokenServerURI.slice(0, -1);
|
||||
}
|
||||
let log = this._log;
|
||||
let client = this._tokenServerClient;
|
||||
let fxa = this._fxaService;
|
||||
|
Loading…
Reference in New Issue
Block a user