I have a matrix field which the user can paste YouTube etc. embed code into, which is working fine with YouTube, but SoundCloud embed code causes it to return a page which simply says "Forbidden".
I've tried every combination of plain text, rich text, purify & clean HTML etc.
Trial and error has shown the problematic part of the embed to be this:
width="100%" height="166"
However I can't seem to pin down which part of this is actually the problem.
I tried a few variations to try to see what's going on...
The following fragments are saved fine:
%" h
w="100%" h
w="100%" h=
w="100%" h="
"100%" h
100% 166
width="100%"
width="100" height="166"
width=100% height=166
The following are not saved and return Forbidden:
width="100%" height="166"
w="100%" h="166"
w="100%" h="1
100%" h="1
"100%" "166"
width="1%" height="1"
I've tried pasting the same SoundCloud embed into various other fields across the site, it's fine everywhere else.
Curious!