Side navigation
#12064 closed bug (invalid)
Opened July 12, 2012 05:43AM UTC
Closed July 12, 2012 12:35PM UTC
insert form html broke not prefix in form action parameter
Reported by: | sergeykojin@gmail.com | 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/
Attachments (0)
Change History (1)
Changed July 12, 2012 12:35PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Looks like your unencoded ampersand was interpreted as an entity. You should encode it.
http://jsfiddle.net/FBstV/2/