[GH-ISSUE #625] Thunderbird Won't Open Full URL (Only Resource Name) #434

Closed
opened 2026-05-05 05:51:07 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @carloabelli on GitHub (Jul 10, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/625

I created /usr/local/bin/thunderbird with the contents:

firejail /usr/bin/thunderbird $@

Everything works great, except that when I try to open links in thunderbird, firefox will open the correct resource name (e.g. amazon.com), but will not actually load the full URL. Running thunderbird directly (/usr/bin/thunderbird), opening links works fine. Is this expected behavior?

Note: firefox is also firejailed using an equivalent script as that for thunderbird (/usr/local/bin/firefox)

Originally created by @carloabelli on GitHub (Jul 10, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/625 I created `/usr/local/bin/thunderbird` with the contents: ``` firejail /usr/bin/thunderbird $@ ``` Everything works great, except that when I try to open links in thunderbird, firefox will open the correct resource name (e.g. amazon.com), but will not actually load the full URL. Running thunderbird directly (/usr/bin/thunderbird), opening links works fine. Is this expected behavior? Note: firefox is also firejailed using an equivalent script as that for thunderbird (`/usr/local/bin/firefox`)
gitea-mirror 2026-05-05 05:51:07 -06:00
Author
Owner

@netblue30 commented on GitHub (Jul 10, 2016):

Put symbolic links to firejail under /usr/local/bin instead of scripts:

$ sudo rm /usr/local/bin/thunderbird
$ sudo ln -s /usr/bin/firejail /usr/local/bin/thunderbird

Do the same for firefox and try it out.

<!-- gh-comment-id:231594570 --> @netblue30 commented on GitHub (Jul 10, 2016): Put symbolic links to firejail under /usr/local/bin instead of scripts: $ sudo rm /usr/local/bin/thunderbird $ sudo ln -s /usr/bin/firejail /usr/local/bin/thunderbird Do the same for firefox and try it out.
Author
Owner

@carloabelli commented on GitHub (Jul 10, 2016):

Seems to have resolved the issue. Is using symbolic links the preferred method?

<!-- gh-comment-id:231595514 --> @carloabelli commented on GitHub (Jul 10, 2016): Seems to have resolved the issue. Is using symbolic links the preferred method?
Author
Owner

@netblue30 commented on GitHub (Jul 10, 2016):

Yes. If you are running version 0.9.40 or the development one here, I have a utility, firecfg, that creates automatically the symbolic links under /usr/local/bin. Take a look at "man 1 firecfg".

<!-- gh-comment-id:231595809 --> @netblue30 commented on GitHub (Jul 10, 2016): Yes. If you are running version 0.9.40 or the development one here, I have a utility, firecfg, that creates automatically the symbolic links under /usr/local/bin. Take a look at "man 1 firecfg".
Author
Owner

@carloabelli commented on GitHub (Aug 4, 2016):

While this did make the issue better for some links I have recently found it not to work on all links. To test I created an email with the following HTML and sent it to myself.

<a href="http://www.w3schools.com/html/action_page.php?foo=bar&test=test">Click Me!</a>

Clicking the link resulted in this opening http://www.w3schools.com/html/action_page.php?foo=bar, which is missing a piece.

Copying the link location in thunderbird does yield the right result: http://www.w3schools.com/html/action_page.php?foo=bar&test=test.

<!-- gh-comment-id:237650409 --> @carloabelli commented on GitHub (Aug 4, 2016): While this did make the issue better for some links I have recently found it not to work on all links. To test I created an email with the following HTML and sent it to myself. ``` <a href="http://www.w3schools.com/html/action_page.php?foo=bar&test=test">Click Me!</a> ``` Clicking the link resulted in this opening http://www.w3schools.com/html/action_page.php?foo=bar, which is missing a piece. Copying the link location in thunderbird does yield the right result: http://www.w3schools.com/html/action_page.php?foo=bar&test=test.
Author
Owner

@netblue30 commented on GitHub (Aug 5, 2016):

I'll give it a try, thanks.

<!-- gh-comment-id:237840463 --> @netblue30 commented on GitHub (Aug 5, 2016): I'll give it a try, thanks.
Author
Owner

@netblue30 commented on GitHub (Aug 22, 2016):

Seems to be working fine in the git version.

<!-- gh-comment-id:241586455 --> @netblue30 commented on GitHub (Aug 22, 2016): Seems to be working fine in the git version.
Author
Owner

@carloabelli commented on GitHub (Aug 23, 2016):

I can confirm the current git version does not have the same issue found in 0.9.40. Thank you.

<!-- gh-comment-id:241588827 --> @carloabelli commented on GitHub (Aug 23, 2016): I can confirm the current git version does not have the same issue found in `0.9.40`. Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#434
No description provided.