8000 Comparing anyrun-org:master...sents:master · anyrun-org/anyrun · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: anyrun-org/anyrun
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sents/anyrun
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 16, 2025

  1. Applications: Properly parse desktop exec keys and stop shelling out

    https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-variables.html
    describes how commands and their arguments are stored in the exec key.
    As the exec key is a string type as defined in
    https://specifications.freedesktop.org/desktop-entry-spec/latest/value-types.html
    escapes code for certain characters have to be respected. After this
    there are rules which characters necessitate a quoted string and which
    characters need to be escaped in a quoted string. To use the exec
    key for executing we then need to unescape these characters and can
    collect the args in a vector. This enables us to stop shelling out
    when executing desktop files and instead call `Command` directly with
    the specified program and arguments.
    sents committed Jan 16, 2025
    Configuration menu
    Copy the full SHA
    f9d9e05 View commit details
    Browse the repository at this point in the history
Loading
0