Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65352 - [xdg-utils] ~Infinite recursion in xdg-open

Attached to Project: Arch Linux
Opened by morguldir (morguldir) - Sunday, 02 February 2020, 00:19 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 23 February 2020, 07:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When not using a desktop environment, xdg-open falls back to using a generic DE, while doing so, it recursively goes through everything relevant in your applications directory. If a directory there contains spaces, it will recursively go through the current directory as well, taking forever because of an unquoted variable. See the linked gitlab MR for a fix. I think we should apply the fix in arch, as the xdg-utils project seems pretty inactive.

Additional info:
* 1.1.3+18+g0547886-4
* https://gitlab.freedesktop.org/xdg/xdg-utils/merge_requests/12

Steps to reproduce:

Use no desktop environment/an unknown one.
Put a directory containing spaces inside $HOME/.local/share/applications/
Use xdg-open with a url
Watch xdg-open freeze as it recursively goes through everything in your HOME directory.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 23 February 2020, 07:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  pkg updated

Loading...