Issue 9535

Title
Authentication popup on RPC request
Priority
bug
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2020-08-13.16:06:43 by ced, last changed 4 months ago by roundup-bot.

Messages

New changeset 6dd90d016674 by Cédric Krier in branch '5.6':
Do not set WWW-Authenticate on XMLHttpRequest
https://hg.tryton.org/trytond/rev/6dd90d016674

New changeset fc7feb6d1618 by Cédric Krier in branch '5.4':
Do not set WWW-Authenticate on XMLHttpRequest
https://hg.tryton.org/trytond/rev/fc7feb6d1618
New changeset 8dec0c8a1fd3 by Cédric Krier in branch 'default':
Do not set WWW-Authenticate on XMLHttpRequest
https://hg.tryton.org/tryton-env/rev/8dec0c8a1fd3
New changeset 59895ad063a8 by Cédric Krier in branch 'default':
Do not set WWW-Authenticate on XMLHttpRequest
https://hg.tryton.org/trytond/rev/59895ad063a8
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-08-13.16:06:42
When loading sao with an expired session, some browsers (at least Chrome) raise an authentication dialog (not the sao one).
This is because trytond returns a 401 with the WWW-Authenticate header.
A solution is to not set this header for XMLHttpRequest like proposed on https://stackoverflow.com/a/20221330
History
Date User Action Args
2020-09-06 17:15:26roundup-botsetmessages: + msg59995
keyword: - backport
2020-08-29 18:21:23roundup-botsetmessages: + msg59864
2020-08-29 18:21:20roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg59863
2020-08-13 16:21:05reviewbotsetnosy: + reviewbot
messages: + msg59722
2020-08-13 16:08:32cedsetstatus: in-progress -> testing
reviews: 290791002
keyword: + backport, review
2020-08-13 16:06:43cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)