seb-win-refactoring: In Moodle, the cookie can have a prefix. If one is set, the session sent to SEB server is not correct.

Cookies in Moodle can have customizable prefixes. Unfortunately, in our place, one is set. image In line 416 of ResourceHandler.cssBrowser\handlers\ResourceHandler.cs](https://github.com/SafeExamBrowser/seb-win-refactoring/blob/d9662ec31e3c0b32e75e7eccd84a7a11b35f0b43/SafeExamBrowser.Browser/Handlers/ResourceHandler.cs#L416) the message.Headers.Add command hardcodedly does transmit "MoodleSession=" which omits that prefix, if set. That leads to the UserId not being set, which results in a not finished handshake.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

(just noticed that technically, this is a “suffix”, not a “prefix” 😂)