blob: 76b0497a4cb8f7a411ff7414275a1bbfdd2c9885 [file] [log] [blame]
Test that setRequestHeader properly checks for line feeds in header values.
a%0AEvil%3A%20on -> SUCCESS, setRequestHeader() raised an exception SyntaxError: The string did not match the expected pattern.
a%0DEvil%3A%20on -> SUCCESS, setRequestHeader() raised an exception SyntaxError: The string did not match the expected pattern.
a%0D%0AEvil%3A%20on -> SUCCESS, setRequestHeader() raised an exception SyntaxError: The string did not match the expected pattern.
a%0A%0DEvil%3A%20on -> SUCCESS, setRequestHeader() raised an exception SyntaxError: The string did not match the expected pattern.