Bug Tracker

Modify

Ticket #12064 (closed bug: invalid)

Opened 11 months ago

Last modified 11 months ago

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=&not_zip="></form>'); form action become /test?city=¬_zip=

so &not - become ¬ symbol

see in action  http://jsfiddle.net/skojin/FBstV/1/

Change History

comment:1 Changed 11 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Looks like your unencoded ampersand was interpreted as an entity. You should encode it.

 http://jsfiddle.net/FBstV/2/

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.