View Issue Details

IDProjectCategoryView StatusLast Update
0006885Talermechant backendpublic2021-05-23 23:17
ReporterMS Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0006885: Wrong error message upon malformed Authorization header
DescriptionWhat the request below lacks is the "Bearer" word before the actual token,
but the error message reports something different:

$ curl -H "Authorization: secret-token:......" https://backend.test.taler.net/private/instances
{
   "code": 26,
   "hint": "A parameter in the request was malformed.",
   "detail": "'secret-token:' prefix missing in 'Authorization' header"
}
TagsNo tags attached.

Activities

Christian Grothoff

2021-05-23 23:16

manager   ~0017893

3f0bed9..7c4dced improves the error message.

Issue History

Date Modified Username Field Change
2021-05-21 21:02 MS New Issue
2021-05-21 21:02 MS Status new => assigned
2021-05-21 21:02 MS Assigned To => Christian Grothoff
2021-05-23 23:16 Christian Grothoff Note Added: 0017893
2021-05-23 23:16 Christian Grothoff Status assigned => resolved
2021-05-23 23:16 Christian Grothoff Resolution open => fixed
2021-05-23 23:16 Christian Grothoff Fixed in Version => 0.9
2021-05-23 23:17 Christian Grothoff Product Version => git (master)
2021-05-23 23:17 Christian Grothoff Target Version => 0.9