summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-02-29 15:25:40 +0100
committerRob Crittenden <rcritten@redhat.com>2012-02-28 23:25:38 -0500
commit610420bd2ab976ea9e35e6d010e3f1c9f572c646 (patch)
tree8693612c15fb733ae574ae323d6c936ea3c9aabe /ipaserver/install/dsinstance.py
parent3cd0217b309a27f7718ee2720662211e06e13e68 (diff)
downloadfreeipa.git-610420bd2ab976ea9e35e6d010e3f1c9f572c646.tar.gz
freeipa.git-610420bd2ab976ea9e35e6d010e3f1c9f572c646.tar.xz
freeipa.git-610420bd2ab976ea9e35e6d010e3f1c9f572c646.zip
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
Diffstat (limited to 'ipaserver/install/dsinstance.py')
0 files changed, 0 insertions, 0 deletions