I tried what you said and it doesn't work with "javascript:" uris (probably to prevent running of unwanted code?).
Firefox bar is not "broken", as every browser I tested has the same behavior, and I think it's because a valid uri should only contain ASCII characters (as described in RFC3896[0]), but I agree with you that it's annoying: it should copy the text as it's displayed.
Fun fact: Internet explorer let you copy the uri "as is" without encoding.
Firefox bar is not "broken", as every browser I tested has the same behavior, and I think it's because a valid uri should only contain ASCII characters (as described in RFC3896[0]), but I agree with you that it's annoying: it should copy the text as it's displayed.
Fun fact: Internet explorer let you copy the uri "as is" without encoding.
[0] https://www.rfc-editor.org/rfc/rfc3986.html#section-2