%26%2339%3B
переводится как '
.Похоже, вы неправильно понимаете принцип кодирования сущностей HTML / URL.
В следующей таблице описывается, что должно произойти:
href= * Property URL-decoded
%26%2339%3B #26%2339%3B '
%27 %27 '
' ' '
' ' ' Safe ONLY IF `href` is not marked with '
(as in `<a href='...'..'>`)
*href = Literal attribute value, as seen when viewing the source
*Property = The real value of the attribute, after parsing HTML
*URL-decoded = As received at the server's side, or through decodeURI
Итак, используйте '
, %27
или '
вместо %26%2339%3B
.