Closed Komanachi closed 1 month ago
I was able to reproduce in Brave (1.70.107 on Linux) but not in Chrome using this minimal test case: https://fmarier.github.io/brave-testing/clipboard.html
Here are a list of test cases, only the first one is lowercasing the A
:
A:^C,D
: brokenA:C,D
: okayA:^,
: okayA:^C,
: okayA:^,D
: okayA:^CD
: okayA^CD
: okaybut only when copying to the clipboard using the JS API. The keyboard shortcut Ctrl+c
works as expected.
The fact that it works as expected in Chrome suggests to me that we're doing something weird with the clipboard.
The only thing I can think of is https://github.com/brave/brave-browser/issues/33037, but that feature is only supposed to be active on a small number of sites.
cc @boocmp
Another test case from https://community.brave.com/t/text-changes-when-using-clipboard-writetext/566397
https://www.abc.com/<br>abc
becomes https://www.abc.com/%3Cbr%3Eabc
It does like like it's related to copy-clean-link because it can also be reproduced right here by:
https://www.abc.com/<br>abc
in the comment above.Looks like there's two problems here:
The above requires 1.70.119
or higher for 1.70.x
verification 👍
Verification passed on
Brave | 1.70.119 Chromium: 129.0.6668.70 (Official Build) (arm64) |
---|---|
Revision | a15c836a4df987f118ece1645f54b081019049de |
OS | macOS Version 15.0 (Build 24A335) |
ASDASD:asd^ASD,ASD
as the password, copy pasting it from context menu works as expected, Doesn't change the case of lettershttps://fmarier.github.io/brave-testing/clipboard.html
and ensured that A:^C,D
was copied/pastedhttps://www.abc.com/%3Cbr%3Eabc
in a new tab redirects and loads https://www.abc.com/<br>abc
https://github.com/user-attachments/assets/ff3b1409-1ede-40fb-89b3-9619169eea68
Verification PASSED on
Brave | 1.70.119 Chromium: 129.0.6668.70 (Official Build) (64-bit)
-- | --
Revision | a15c836a4df987f118ece1645f54b081019049de
OS | Windows 10 Version 22H2 (Build 19045.4894)
Verified the description from the issue https://github.com/brave/brave-browser/issues/41064#issue-2525717014 ensured that the correct text/strings/links were being copied as per the following:
ASDASD:asd^ASD,ASD
as the passwordASDASD:asd^ASD,ASD
A:^C,D
was copied/pastedVerified with
Brave | 1.70.119 Chromium: 129.0.6668.70 (Official Build) (64-bit) |
---|---|
Revision | a15c836a4df987f118ece1645f54b081019049de |
OS | Linux |
Reproduced the original issue using 1.70.117 with the STR/Cases outlined via https://github.com/brave/brave-browser/issues/41064#issue-2525717014 & https://fmarier.github.io/brave-testing/clipboard.html.
Verified fixed on 1.70.119
ASDASD:asd^ASD,ASD
as the passwordASDASD:asd^ASD,ASD
A:^C,D
was copied/pasted
Description
When I copy some of my passwords via icon on the webui, the characters on the copied password coverts to the lower letters. I mean, I cannot copy and paste original password. If I make the password visible and then copy it manually via Ctrl + C or right click, I can paste it as original state without changing the letters.
The problem occurs on vault.bitwarden.com copy function via icon. I tried different browsers and there is no any problem.
Device: Apple M2 Max OS: Sonoma 14.6.1 Brave: 2024.9.0
This problem that I face has started 10 or 12 days ago. Before that, there was no any issue. The problem occurs only one password that included ":", "^", and ",". For others, the characters stay same as expected. But for this password, let's say the password is "ASDASD:asd^ASD,ASD". When I manually copy the password there is no problem. But if I use the automatic copy function via icon on the website, it is converted to "asdasd:asd^ASD,ASD".
On the developer tools > console there is no any error. It's hard to explain the issue. I hope it's clear.
Steps to reproduce
Actual result
asdasd:asd^ASD,ASD
Expected result
ASDASD:asd^ASD,ASD
Reproduces how often
Easily reproduced
a
Channel information
Reproducibility
Miscellaneous information
No response