On Tuesday, August 27, 2019 11:19:25 AM CEST Leif
Johansson wrote:
so there is a really messy interaction between
pyff and accept-types going
> on...
Found the problem.
accept-types does a sloppy substitution when pattern contains a + in
get_pattern. It only replaces a * with [a-zA-Z0-9_.$#!%^*-]+ but omits
replacing a + with \+, probabaly because the developer never thought about x/
Y+Z acceptable types.
^application/samlmetadata+xml$ will never match application/samlmetadata+xml
^application/samlmetadata\+xml$ will.
Martin