Opened 13 years ago

Closed 13 years ago

#1631 closed defect (invalid)

Saving a URL in the Editor causes strange copies of itself to appear.

Reported by: ghendricks@… Owned by: liucougar
Priority: high Milestone: 0.9
Component: Editor Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

I am using the latest version (svn r6124) of the Editor2 widget in a textarea on a form. If i enter a URL in the editor and submit it, when I come back to view the page, the URL has been turned into a hyperlink. This is expected and even desirable. However, if I submit the form again (even having made no changes to it whatsoever) the URL has been duplicated with a ">" character between them.

Looking at the source I see:

<a href="%3Ca%20href=" http://dojotoolkit.org="">http://dojotoolkit.org</a>"&gt;<a

Each time I resubmit the form, it adds another hyperlink:

<a href="%3Ca%20href="></a><a href="http://dojotoolkit.org">http://dojotoolkit.org</a>=""&gt;<a href="http://dojotoolkit.org">http://dojotoolkit.org</a>"&gt;<a href="%3Ca%20href=" http://dojotoolkit.org="">http://dojotoolkit.org</a>"&gt;<a href="http://dojotoolkit.org">http://dojotoolkit.org</a><br>

Change History (6)

comment:1 Changed 13 years ago by bill

Milestone: 0.4
Owner: changed from bill to liucougar

Cougar - not sure if this should be against 0.4, 0.4.1, or 0.5 but anyway assigning it to you.

comment:2 Changed 13 years ago by dylan

Milestone: 0.40.4.1

comment:3 Changed 13 years ago by dylan

Component: WidgetsEditor

comment:4 Changed 13 years ago by liucougar

Milestone: 0.4.10.5

I don't know how that is supposed to happen. I am now aware of any code of doing that kind of automation in dojo editor.

I doubt that your server does the trick. Please verify that

comment:5 Changed 13 years ago by ghendricks@…

You are right. my bad.

Please close this bug

comment:6 Changed 13 years ago by liucougar

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.