Opened 11 years ago
Closed 11 years ago
#12064 closed bug (invalid)
insert form html broke not prefix in form action parameter
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
when create form, as rails jquery_ujs.js do, then
$('<form method="post" action="/test?city=¬_zip="></form>'); form action become /test?city=¬_zip=
so ¬ - become ¬ symbol
see in action http://jsfiddle.net/skojin/FBstV/1/
Note: See
TracTickets for help on using
tickets.
Looks like your unencoded ampersand was interpreted as an entity. You should encode it.
http://jsfiddle.net/FBstV/2/