Skip to content
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

[Bug]: pkgcheck doesn't complain if <remote-id> contains tabs or newlines #697

Open
1 task done
emanuele6 opened this issue Aug 24, 2024 · 0 comments
Open
1 task done
Labels

Comments

@emanuele6
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If you have something like

<remote-id type="github">
	user/repo
</remote-id>

pkgcheck scan doesn't complain about the TAB and newline characters in <remote-id>.

If it is indented spaces instead of TABs, it will complain with BadUrl because it will check https://github.com/%20%20%20%20%20%20%20%20user/repo, but TABs and newlines are completely ignored.

Expected Behavior

It should complain if <remote-id> contains TABs and/or newlines.

gentoo/gentoo#38258 (comment)
https://bugs.gentoo.org/938339

pkgcheck version

pkgcheck 0.10.30

pkgcore version

pkgcore 0.12.27

@emanuele6 emanuele6 added the bug label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant