Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Question mark is replaced by 'jQuery1520046861610282212496_1411972375451'. #1799

Closed
Assignees
mgol
Labels
Milestone
@mgol

Description

@mgol

Originally reported by wjj871125 at:http://bugs.jquery.com/ticket/15249

Code as follows:

varcontent=document.getElementById("content").value;jQuery.ajax({type:'post',url:'add.php',data:"content="+content,// value is '?'dataType :"json",success:function(response){alert('success:'+response.msg);},error:function(msg){alert(msg);}});

Code ends.

When the parameter 'content' value is '?' or '??', its content is replaced by similar content as 'jQuery1520046861610282212496_1411972375451'.

jQuery code

data=data.replace(jsre,replace);

jQuery code end.

These codes maybe need to optimize.

Issue reported for jQuery 1.5.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp