зеркало из https://github.com/mozilla/gecko-dev.git
Bug 377392 - 'Copy Link Location' strips random characters from URLs copied to the clipboard; r=wuno,bzbarsky a=dbaron
This commit is contained in:
Родитель
69b48cf346
Коммит
809d45cba1
|
@ -4416,7 +4416,7 @@ nsresult PresShell::GetLinkLocation(nsIDOMNode* aNode, nsAString& aLocationStrin
|
|||
NS_ENSURE_ARG_POINTER(aNode);
|
||||
nsresult rv;
|
||||
nsAutoString anchorText;
|
||||
static char strippedChars[] = {'\t','\r','\n'};
|
||||
static const char strippedChars[] = "\t\r\n";
|
||||
|
||||
// are we an anchor?
|
||||
nsCOMPtr<nsIDOMHTMLAnchorElement> anchor(do_QueryInterface(aNode));
|
||||
|
|
Загрузка…
Ссылка в новой задаче