Skip to content

cargo ebuild does not escape or sanitize DESCRIPTION #32

Description

@trofi

$ cargo ebuild on https://github.com/Michael-F-Bryan/mdbook-linkcheck generates among other things this snippet:

# ...
DESCRIPTION="A backend for `mdbook` which will check your links for you."
# ...

Note the mdbook. That at best fails sourcing:

$ pkgcheck scan .
app-text/mdbook-linkcheck
  SourcingError: version 0.7.7: failed sourcing ebuild: external commands disallowed during metadata regen: 'mdbook'

One of the options would be to drop suspicious characters, escape them or convert to something safer.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions