Skip to content

Commit f7244d2

Browse files
authored
Merge pull request #934 from planetlabs/planetmilesm-patch-XSS
Protect against injecting javascript:URI into edited href tags
2 parents e808ff0 + b3167b1 commit f7244d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/custom_theme/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<div class="mdx-hero__content">
88
<h1>Welcome to the {{ config.site_name }}</h1>
99
<p>{{ config.site_description }}</p>
10-
<a href="{{ 'get-started/quick-start-guide' | url }}" title="Get Started" class="md-button md-button--primary md-button--teriary">
10+
<a href="./{{ 'get-started/quick-start-guide' | url }}" title="Get Started" class="md-button md-button--primary md-button--teriary">
1111
Get started
1212
</a>
13-
<a href="{{ 'get-started/get-your-planet-account' | url }}" title="Get your Planet account" class="md-button md-button--secondary">
13+
<a href="./{{ 'get-started/get-your-planet-account' | url }}" title="Get your Planet account" class="md-button md-button--secondary">
1414
Get a Planet account
1515
</a>
1616
</div>

0 commit comments

Comments
 (0)