Modify ↓
Ticket #12064 (closed bug: invalid)
insert form html broke not prefix in form action parameter
| Reported by: | sergeykojin@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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/
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
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/