-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xdg-utils: Properly quote flatpak command #1097
xdg-utils: Properly quote flatpak command #1097
Conversation
b86edec
to
4dc54f4
Compare
This looks right as far as I can tell, but what bug are you fixing? It would be much easier to assess whether this is correct with either a comment here or an issue report that briefly describes: steps to reproduce; expected result; actual result. |
I tried to build an run this to see if it fixes a bug I am hitting. But I failed to make it work. So here are my observations in hope it helps to further review the merge request:
|
Please open an issue that describes the bug you are hitting (version of x-d-p / what you did / expected result / actual result), while using an unpatched xdg-desktop-portal (without this PR applied). |
|
Sorry for not responding for the last few weeks. @smcv I didn't think this would fix an actual bug, i just noticed that the code path was wrong @jangernert Does this fix issue #1118 for you? |
`xdp_app_info_rewrite_commandline` has to respect `quote_escape` also when no commandline is given. Fixes flatpak#1118
a158e8c
to
ae445d2
Compare
I wasn't able to test it. I was able to build and run the branch. But all the portal requests kept failing. Even the ones not related to this MR. So I must have done something wrong. |
I had the same problem initially adding a symlink |
That did the trick for me as well. And I can confirm: #1118 was fixed running this branch compared to the fedora package. Didn't test master without this MR, though. So take it with a tiny bit of salt. |
xdp_app_info_rewrite_commandline
has to respectquote_escape
also when no commandline is given.