View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026365||mantisbt||api rest||public||2019-11-18 09:45||2023-05-25 15:03|
|Priority||normal||Severity||major||Reproducibility||have not tried|
|Status||closed||Resolution||no change required|
|Summary||0026365: Fix a possible installation issue for the mantis rest api|
On trying out the rest api, all requests were answered with "401 API token required", although the Authorization token was transmitted.
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
in $MANTISROOT/api/rest/.htaccess, as suggested by https://www.cyotek.com/blog/restoring-missing-authorization-header-when-using-php, fixed the issue.
|Tags||No tags attached.|
Could you please check if adding
You did not provide any feedback; I am therefore resolving this issue as "no change required".
Feel free to reopen the issue at a later time and provide the requested information.