Bug 35571 - UMC umcp/auth request returns code 411 on authentication failure
UMC umcp/auth request returns code 411 on authentication failure
Status: RESOLVED DUPLICATE of bug 33705
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.2
Other Linux
: P5 minor (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-05 13:14 CEST by Dmitry Galkin
Modified: 2014-08-12 20:10 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Example of failed login attempt (158.77 KB, image/png)
2014-08-05 13:14 CEST, Dmitry Galkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Galkin univentionstaff 2014-08-05 13:14:22 CEST
Created attachment 6055 [details]
Example of failed login attempt

The UMC authentication request 'umcp/auth' returns code 411 'Length Required' in any case of unsuccessful authorization (i.e. wrong password, user name, etc.) According to W3C more appropriate code is 401 'Unauthorized', since also content length is actually provided with the request.

Reference: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Comment 1 Florian Best univentionstaff 2014-08-12 20:09:53 CEST
Yes, this is violation of HTTP and already meantioned at Bug #33705.

*** This bug has been marked as a duplicate of bug 33705 ***