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

feature_request(rule): check mixed (unsecured) content #362

Open
Kristinita opened this issue Sep 24, 2019 · 2 comments
Open

feature_request(rule): check mixed (unsecured) content #362

Kristinita opened this issue Sep 24, 2019 · 2 comments

Comments

@Kristinita
Copy link

@Kristinita Kristinita commented Sep 24, 2019

1. Summary

It would be nice, if would be possible check mixed (unsecured) content locally.

2. Argumentation

2.1. About

Read about mixed content. It not good for https sites.

2.2. How can an error occur

I've a https site. I add to it images, videos and so on, which are located on third-party sites. I can't see protocol of third-party site → I've unsecured content on my site.

3. Example of expected behavior

3.1. Checking process

The rule simply should check that there is no http in src and some other attributes. Example:

  • ✔️ Good:
<img src="https://example.com/KiraGoddess.jpg" alt="Kira Goddess!">
  • Bad:
<img src="http://example.com/KiraGoddess.jpg" alt="Kira Goddess!">

Crawlers or localhost will not need.

3.2. Attributes list

Also, it would be nice to support data-src attribute for img, which is used on plugins for lazy loading.

4. Not helped

4.1. Web tools

I couldn't find, how I can use web-services like these programmatically, in development process:

4.2. CLI tools

I found these tools:

They're not doing what's described in my request. They crawl web-pages and links in them. Pages of my site may be not checked, unlike hundreds pages of third-party web-pages.

In addition, domain required for these packages. Files directly or localhost checking doesn't support; I can't use checking in development process; I need push files to hosting.

4.3. HTML linters

I check my site, use 4 HTML linters (The Nu Html Checker, HTML Tidy, htmllint, HTMLHint) → I couldn't find them the desirable feature.

Thanks.

@stale
Copy link

@stale stale bot commented May 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the bot:stale label May 14, 2020
@Kristinita
Copy link
Author

@Kristinita Kristinita commented May 14, 2020

The problem still exist.

Thanks.

@stale stale bot removed the bot:stale label May 14, 2020
@thedaviddias thedaviddias added this to Needs triage in Feature requests May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Feature requests
  
Needs triage
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.