[Freeipa-devel] [PATCH] 096 Fixed content type check in login_password

2012-02-29 Thread Petr Vobornik
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

Re: [Freeipa-devel] [PATCH] 096 Fixed content type check in login_password

2012-02-29 Thread Rob Crittenden
Petr Vobornik wrote: 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