Bug 377392 - 'Copy Link Location' strips random characters from URLs copied to the clipboard. Patch by Rich Walsh <rich@e-vertise.com>, r=wuno, r=bzbarsky, a1.9.0.next=dveditz
git-svn-id: svn://10.0.0.236/trunk@261969 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b021039e1e
commit
90681eca07
@ -4086,7 +4086,7 @@ NS_IMETHODIMP PresShell::GetLinkLocation(nsIDOMNode* aNode, nsAString& aLocation
|
||||
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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user