Closed
Bug 1529190
Opened 6 years ago
Closed 6 years ago
InsertTagCommand::DoCommandParams() does not aware of non-ASCII URL
Categories
(Core :: DOM: Editor, enhancement, P2)
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: parity-chrome, parity-edge)
Attachments
(1 file)
InsertTagCommand::DoCommandParams() inserts given URL to href
of <a>
or src
of <img>
. However, it treats the given URL includes only ASCII characters. Therefore, we cannot insert URL including non-ASCII characters with execCommand("createLink")
nor execCommand("insertImage")
.
Assignee | ||
Updated•6 years ago
|
Keywords: parity-chrome,
parity-edge
Assignee | ||
Comment 1•6 years ago
|
||
InsertTagCommand::DoCommandParams()
inserts given URL to href
of <a>
or
src
of <img>
. However, it treats the given URL includes only ASCII
characters. Therefore, we cannot insert URL including non-ASCII characters
with execCommand("createLink")
nor execCommand("insertImage")
.
This patch makes the method assume that the 3rd parameter may include non-ASCII
characters.
Updated•6 years ago
|
Priority: -- → P2
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/fdc5726d5a27
Make `execCommand("createLink")` and `execCommand("insertImage")` aware of URL including non-ASCII characters r=m_kato
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/15573 for changes under testing/web-platform/tests
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•