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

fix: all potentially unsafe external link #1485

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions company/templates/company/view_domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ <h4 class="text-xl text-gray-900 font-bold">Domain Info</h4>
</li>
<li class="flex items-center border-b py-2 space-x-2 my-2">
<span class="font-bold w-24">Socials:</span>
<a href="{{ facebook }}" target="_blank" title="Facebook">
<a href="{{ facebook }}" target="_blank" title="Facebook" rel="noopener noreferrer">
<svg class="w-5 h-5" id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 506.86 506.86"><defs><style>.cls-1{fill:#1877f2;}.cls-2{fill:#fff;}</style></defs><path class="cls-1" d="M506.86,253.43C506.86,113.46,393.39,0,253.43,0S0,113.46,0,253.43C0,379.92,92.68,484.77,213.83,503.78V326.69H149.48V253.43h64.35V197.6c0-63.52,37.84-98.6,95.72-98.6,27.73,0,56.73,5,56.73,5v62.36H334.33c-31.49,0-41.3,19.54-41.3,39.58v47.54h70.28l-11.23,73.26H293V503.78C414.18,484.77,506.86,379.92,506.86,253.43Z"></path><path class="cls-2" d="M352.08,326.69l11.23-73.26H293V205.89c0-20,9.81-39.58,41.3-39.58h31.95V104s-29-5-56.73-5c-57.88,0-95.72,35.08-95.72,98.6v55.83H149.48v73.26h64.35V503.78a256.11,256.11,0,0,0,79.2,0V326.69Z"></path></svg>
</a>
<a href="{{ twitter }}" target="_blank" title="Twitter">
<a href="{{ twitter }}" target="_blank" title="Twitter" rel="noopener noreferrer">
<svg class="w-5 h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 333333 333333" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd"><path d="M166667 0c92048 0 166667 74619 166667 166667s-74619 166667-166667 166667S0 258715 0 166667 74619 0 166667 0zm90493 110539c-6654 2976-13822 4953-21307 5835 7669-4593 13533-11870 16333-20535-7168 4239-15133 7348-23574 9011-6787-7211-16426-11694-27105-11694-20504 0-37104 16610-37104 37101 0 2893 320 5722 949 8450-30852-1564-58204-16333-76513-38806-3285 5666-5022 12109-5022 18661v4c0 12866 6532 24246 16500 30882-6083-180-11804-1876-16828-4626v464c0 17993 12789 33007 29783 36400-3113 845-6400 1313-9786 1313-2398 0-4709-247-7007-665 4746 14736 18448 25478 34673 25791-12722 9967-28700 15902-46120 15902-3006 0-5935-184-8860-534 16466 10565 35972 16684 56928 16684 68271 0 105636-56577 105636-105632 0-1630-36-3209-104-4806 7251-5187 13538-11733 18514-19185l17-17-3 2z" fill="#1da1f2"></path></svg>
</a>
<a href="{{ github }}" target="_blank" title="Github">
<a href="{{ github }}" target="_blank" title="Github" rel="noopener noreferrer">
<svg class="w-5 h-5" xmlns="http://www.w3.org/2000/svg" width="0" height="0" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd" viewBox="0 0 640 640"><path d="M319.988 7.973C143.293 7.973 0 151.242 0 327.96c0 141.392 91.678 261.298 218.826 303.63 16.004 2.964 21.886-6.957 21.886-15.414 0-7.63-.319-32.835-.449-59.552-89.032 19.359-107.8-37.772-107.8-37.772-14.552-36.993-35.529-46.831-35.529-46.831-29.032-19.879 2.209-19.442 2.209-19.442 32.126 2.245 49.04 32.954 49.04 32.954 28.56 48.922 74.883 34.76 93.131 26.598 2.882-20.681 11.15-34.807 20.315-42.803-71.08-8.067-145.797-35.516-145.797-158.14 0-34.926 12.52-63.485 32.965-85.88-3.33-8.078-14.291-40.606 3.083-84.674 0 0 26.87-8.61 88.029 32.8 25.512-7.075 52.878-10.642 80.056-10.76 27.2.118 54.614 3.673 80.162 10.76 61.076-41.386 87.922-32.8 87.922-32.8 17.398 44.08 6.485 76.631 3.154 84.675 20.516 22.394 32.93 50.953 32.93 85.879 0 122.907-74.883 149.93-146.117 157.856 11.481 9.921 21.733 29.398 21.733 59.233 0 42.792-.366 77.28-.366 87.804 0 8.516 5.764 18.473 21.992 15.354 127.076-42.354 218.637-162.274 218.637-303.582 0-176.695-143.269-319.988-320-319.988l-.023.107z"></path></svg>
</a>
</li>
Expand Down
6 changes: 3 additions & 3 deletions website/templates/contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
<div
class="group-hover:text-white flex items-center justify-center gap-3 mt-2 w-auto h-5 text-gray-600 mt-7"
>
<a href="{{contributor.twitter}}" target="_blank">
<a href="{{contributor.twitter}}" target="_blank" rel="noopener noreferrer">
<i
class="group-hover:text-white scale-150 m-3 fa-brands fa-twitter fa-lg cursor-pointer transition duration-200 hover:text-gray-400"
></i>
</a>
<a href="{{contributor.linkedin}}" target="_blank">
<a href="{{contributor.linkedin}}" target="_blank" rel="noopener noreferrer">
<i
class="group-hover:text-white scale-150 m-3 fa-brands fa-linkedin fa-lg cursor-pointer transition duration-200 hover:text-gray-400"
></i>
</a>
<a href="{{contributor.website}}" target="_blank">
<a href="{{contributor.website}}" target="_blank" rel="noopener noreferrer">
<i
class="group-hover:text-white scale-150 m-3 fa-brands fa-dribbble fa-lg cursor-pointer transition duration-200 hover:text-gray-400"
></i>
Expand Down
6 changes: 3 additions & 3 deletions website/templates/contributors_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
<div
class="flex gap-3 w-auto h-5 mt-10"
>
<a href="{{contributor.twitter}}" target="_blank">
<a href="{{contributor.twitter}}" target="_blank" rel="noopener noreferrer">
<i
class="scale-150 m-3 fa-brands fa-twitter fa-lg cursor-pointer transition duration-100 hover:text-red-500"
></i>
</a>
<a href="{{contributor.linkedin}}" target="_blank">
<a href="{{contributor.linkedin}}" target="_blank" rel="noopener noreferrer">
<i
class="scale-150 m-3 fa-brands fa-linkedin fa-lg cursor-pointer transition duration-100 hover:text-red-500"
></i>
</a>
<a href="{{contributor.website}}" target="_blank">
<a href="{{contributor.website}}" target="_blank" rel="noopener noreferrer">
<i
class="scale-150 m-3 fa-brands fa-dribbble fa-lg cursor-pointer transition duration-100 hover:text-red-500"
></i>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/mobile_terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ <h1 class="page-header">Terms and Conditions</h1>
</li>
<li>
<p>Questions about the Terms of Service should be sent to <a href="mailto:{% env 'SERVER_EMAIL' %}"
target="_blank">{% env "SERVER_EMAIL" %}</a>.
target="_blank" rel="noopener noreferrer">{% env "SERVER_EMAIL" %}</a>.
</p>
</li>
</ol>
Expand Down
Loading