chocolatey-community / chocolatey-community-validation

Chocolatey CLI extension to bring community package validation rules to the console
Apache License 2.0
1 stars 4 forks source link

Add validation rule to disallow icon URL using GitHub raw links #28

Open TheCakeIsNaOH opened 6 months ago

TheCakeIsNaOH commented 6 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

It would be good to add rules for iconUrl validation. These should include a rule that github raw is not allowed to be used, and a rule that rawgit is not allowed as it has shut down.

Describe The Solution. Why is it needed?

Lots of packages get pushed to CCR with github raw and with rawgit links.

Additional Context

No response

Related Issues

AdmiringWorm commented 6 months ago

Seeing as this is a new rule, and it runs on the client side. This should probably be implemented as a requirement in this case.