Bug 1696974 Comment 8 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to gudvinr from comment #7)
> I'm not sure if that's same issue but when I open links from bookmark bar using middle click, content from clipboard also leaks to url bar.
> 
> Given that search bar sends information to search engine Firefox might easily send private information where you don't want to. That's pretty bad.

I can reproduce this with Firefox 114.0.1 on Linux.

It appears to happen when there are content in the X Primary Selection buffer, and the content contains newline character.

Steps to reproduce:

1. Select some text including newline character, to put them into the X Primary Selection buffer. The `xclip` utility can be used to demonstrate the issue:
   `echo -e "xyz\n" | xclip -r`

2. In Firefox, open a New Tab. Let the focus stay in the address bar.

3. Middle-click on a bookmark (to open it in a new tab)

Expected result:
- The bookmark to open in a new tab.
- No change in the "New Tab" tab.

Actual result:
- The bookmark opened in a new tab.
- In the "New Tab" tab, "xyz " is pasted into the address bar.

I also agree that it could become a privacy issue if search engine suggestion is enabled.
(In reply to gudvinr from comment #7)
> I'm not sure if that's same issue but when I open links from bookmark bar using middle click, content from clipboard also leaks to url bar.
> 
> Given that search bar sends information to search engine Firefox might easily send private information where you don't want to. That's pretty bad.

I can reproduce this with Firefox 114.0.1 on Linux.

It appears to happen when there are content in the X Primary Selection buffer, and the content contains newline character.

Steps to reproduce:

1. Select some text including newline character, to put them into the X Primary Selection buffer. The `xclip` utility can be used to demonstrate the issue:
   `echo -e "xyz\n" | xclip -r`

2. In Firefox, open a New Tab. Let the focus stay in the address bar.

3. Middle-click on a bookmark (to open it in a new tab)

Expected result:
- The bookmark to open in a new tab.
- No change in the "New Tab" tab.

Actual result:
- The bookmark opened in a new tab.
- In the "New Tab" tab, "xyz " is pasted into the address bar.

I also agree that it could become a privacy issue if search engine suggestion is enabled.

Update: just noticed that this issue appears to be fixed already so I filed a new bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1838743
(In reply to gudvinr from comment #7)
> I'm not sure if that's same issue but when I open links from bookmark bar using middle click, content from clipboard also leaks to url bar.
> 
> Given that search bar sends information to search engine Firefox might easily send private information where you don't want to. That's pretty bad.

I can reproduce this with Firefox 114.0.1 on Linux.

It appears to happen when there are content in the X Primary Selection buffer, and the content contains newline character.

Steps to reproduce:

1. Select some text including newline character, to put them into the X Primary Selection buffer. The `xclip` utility can be used to demonstrate the issue:
   `echo -e "xyz\n" | xclip -r`

2. In Firefox, open a New Tab. Let the focus stay in the address bar.

3. Middle-click on a bookmark (to open it in a new tab)

Expected result:
- The bookmark to open in a new tab.
- No change in the "New Tab" tab.

Actual result:
- The bookmark opened in a new tab.
- In the "New Tab" tab, "xyz " is pasted into the address bar.

I also agree that it could become a privacy issue if search engine suggestion is enabled.

Update: just noticed that this issue appears to be fixed already so I filed a new bug report: bug 1838743

Back to Bug 1696974 Comment 8