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

Option to warn about external resources #29

Open
mthuurne opened this issue Aug 5, 2021 · 3 comments
Open

Option to warn about external resources #29

mthuurne opened this issue Aug 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@mthuurne
Copy link
Member

mthuurne commented Aug 5, 2021

Many libraries for web applications load resources from CDNs by default. There are situations where this is undesirable, for privacy or robustness reasons. So it would be useful if APE could warn about it.

@mthuurne mthuurne added the enhancement New feature or request label Aug 5, 2021
@mthuurne
Copy link
Member Author

mthuurne commented Aug 7, 2021

This could be combined with #8 perhaps, so the options for handling external resources would be:

  • flag as an error
  • ignore (like now)
  • do a HEAD request and check status code

@mthuurne
Copy link
Member Author

mthuurne commented Aug 7, 2021

This feature would be more useful if #6 is implemented as well: resources such as fonts will often be linked from CSS rather than from HTML.

@mthuurne
Copy link
Member Author

mthuurne commented Aug 7, 2021

Perhaps instead of a single policy, different base URLs could be provided for each option. For example, check the existence of known external resources, flag everything else as an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant