freeipa/ipaserver
Petr Vobornik 610420bd2a Fixed content type check in login_password
login_password is expecting that request content_type will be 'application/x-www-form-urlencoded'.

Current check is an equality check of content_type http header.

RFC 3875 defines that content type can contain parameters separated by ';'. For example: when firefox is doing ajax call it sets the request header to 'application/x-www-form-urlencoded; charset=UTF-8' which leads to negative result.

This patch makes the check more benevolent to allow such values.

Patch is a fixup for:
https://fedorahosted.org/freeipa/ticket/2095
2012-02-28 23:25:38 -05:00
..
install Add SSHFP update policy for existing zones 2012-02-27 18:04:19 +01:00
plugins Implement password based session login 2012-02-27 05:57:43 -05:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
conn.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
ipaldap.py Don't use sets when calculating the modlist so order is preserved. 2012-02-13 22:22:58 -05:00
ipautil.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
rpcserver.py Fixed content type check in login_password 2012-02-28 23:25:38 -05:00