MantisBT: master 8803f5d5

Author Committer Branch Timestamp Parent
khushal community master 2026-09-03 18:41 master 49dfca09
Affected Issues  0037333: Accept optional Bearer prefix on API token in Authorization header
Changeset

Assert both anonymous login modes in REST auth header test

Replaces the skip with assertions for both configurations:

  • no 401 when anonymous login is ON,
  • 401 with WWW-Authenticate when OFF.

Fixes 0037333, PR https://github.com/mantisbt/mantisbt/pull/2271

mod - tests/rest/RestAuthHeaderTest.php Diff File