mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 389830: dragged URLs with trailing spaces should be truncated, patch by Dão Gottwald <dao@design-noir.de>, r=mano
This commit is contained in:
parent
a82c1d0fb6
commit
d29bff8fab
@ -296,7 +296,7 @@ var transferUtils = {
|
||||
{
|
||||
switch (flavour) {
|
||||
case "text/unicode":
|
||||
return aData;
|
||||
return aData.replace(/^\s+|\s+$/g, "");
|
||||
case "text/x-moz-url":
|
||||
return aData.toString().split("\n")[0];
|
||||
case "application/x-moz-file":
|
||||
|
Loading…
Reference in New Issue
Block a user