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
Opened by morguldir (morguldir) - Sunday, 02 February 2020, 00:19 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 23 February 2020, 07:44 GMT
|
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
Sunday, 23 February 2020, 07:44 GMT
Reason for closing: Fixed
Additional comments about closing: pkg updated
Comment by morguldir (morguldir) -
Friday, 21 February 2020, 19:12 GMT
Update: fixed in upstream
https://gitlab.freedesktop.org/xdg/xdg-utils/commit/9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197