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

Added more links Potentially unsafe external link #1943

Merged
merged 10 commits into from
Mar 3, 2024
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align="center"> OWASP BLT </h1>


<p align="center"><a href="https://github.com/OWASP/BLT/actions" target="__blank"><img alt="Build" src="https://github.com/OWASP/BLT/actions/workflows/auto-merge.yml/badge.svg"></a> <a href="https://github.com/OWASP/BLT/blob/main/LICENSE.md"><img src="https://img.shields.io/badge/license-AGPL--3.0-blue"></a>
<a href="https://github.com/OWASP/BLT" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/OWASP/BLT?style=social"></a></p>
<p align="center"><a href="https://github.com/OWASP/BLT/actions" rel="noopener noreferrer" target="__blank"><img alt="Build" src="https://github.com/OWASP/BLT/actions/workflows/auto-merge.yml/badge.svg"></a> <a href="https://github.com/OWASP/BLT/blob/main/LICENSE.md" rel="noopener noreferrer"><img src="https://img.shields.io/badge/license-AGPL--3.0-blue"></a>
<a href="https://github.com/OWASP/BLT" rel="noopener noreferrer" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/OWASP/BLT?style=social"></a></p>

------

Expand Down
4 changes: 3 additions & 1 deletion website/templates/includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@
</a>
</li>
<li>
<a href="{% env 'EXTENSION_URL' %}" target="_new">
<a href="{% env 'EXTENSION_URL' %}"
target="_new"
rel="noopener noreferrer">
<i class="fa fa-chrome fa-fw"></i>
{% trans "Add to chrome" %}
</a>
Expand Down
4 changes: 3 additions & 1 deletion website/templates/includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@
</a>
</li>
<li>
<a href="{% env 'EXTENSION_URL' %}" target="_new">
<a href="{% env 'EXTENSION_URL' %}"
target="_new"
rel="noopener noreferrer">
<i class="fa fa-chrome fa-fw"></i>
{% trans "Add to chrome" %}
</a>
Expand Down
7 changes: 5 additions & 2 deletions website/templates/issue.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,18 @@ <h4>OS Version: {{ os_version }}</h4>
{% if object.github_url %}
<a href="{{ object.github_url }}"
target="_new"
rel="noopener noreferrer"
class="btn btn-warning btn-xs">View
on Github</a>
{% else %}
{% if request.user.is_superuser or request.user == object.user %}
{% if object.screenshot %}
<a href="{{ object.domain.github }}/issues/new?title={{ object.description|urlencode }}&body=![0]({{ object.screenshot.url }})%20http://{% env 'FQDN' %}/issue/{{ object.id }}"></a>
<a href="{{ object.domain.github }}/issues/new?title={{ object.description|urlencode }}&body=![0]({{ object.screenshot.url }})%20http://{% env 'FQDN' %}/issue/{{ object.id }}"
rel="noopener noreferrer"></a>
{% else %}
{% if screenshots %}
<a href="{{ object.domain.github }}/issues/new?title={{ object.description|urlencode }}&body=![0]({{ screenshots.0.image.url }})%20http://{% env 'FQDN' %}/issue/{{ object.id }}"></a>
<a href="{{ object.domain.github }}/issues/new?title={{ object.description|urlencode }}&body=![0]({{ screenshots.0.image.url }})%20http://{% env 'FQDN' %}/issue/{{ object.id }}"
rel="noopener noreferrer"></a>
{% endif %}
{% endif %}
{% endif %}
Expand Down
4 changes: 3 additions & 1 deletion website/templates/mobile_terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ <h1 class="page-header">Terms and Conditions</h1>
on our site before the changes are effective. Any new features that augment or enhance the current
Service, including the release of new tools and resources, shall be subject to the Terms of Service.
Continued use of the Service after any such changes shall constitute your consent to such changes.
You can review the most current version of the Terms of Service at any time at: <a href="https://{% env 'FQDN' %}/terms" target="_blank">http://{% env "FQDN" %}/terms</a>
You can review the most current version of the Terms of Service at any time at: <a href="https://{% env 'FQDN' %}/terms"
target="_blank"
rel="noopener noreferrer">http://{% env "FQDN" %}/terms</a>
</p>
<p>
Violation of any of the terms below will result in the termination of your Account. While {% env 'PROJECT_NAME' %}
Expand Down
Loading