Skip to content

Commit 6e61b1b

Browse files
author
Jonathan D.A. Jewell
committed
chore: Upgrade HTTP → HTTPS URLs (RSR security)
1 parent 6f17cdc commit 6e61b1b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/security-policy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fi
1818
1919
# Block HTTP URLs (except localhost)
20-
HTTP_URLS=$(grep -rE 'http://[^l][^o][^c]' --include="*.py" --include="*.js" --include="*.ts" --include="*.go" --include="*.rs" --include="*.yaml" --include="*.yml" . 2>/dev/null | grep -v 'localhost\|127.0.0.1\|example\|test\|spec' | head -5 || true)
20+
HTTP_URLS=$(grep -rE 'https://[^l][^o][^c]' --include="*.py" --include="*.js" --include="*.ts" --include="*.go" --include="*.rs" --include="*.yaml" --include="*.yml" . 2>/dev/null | grep -v 'localhost\|127.0.0.1\|example\|test\|spec' | head -5 || true)
2121
if [ -n "$HTTP_URLS" ]; then
2222
echo "⚠️ HTTP URLs found. Use HTTPS:"
2323
echo "$HTTP_URLS"

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
container_name: accessibility-api
2222
environment:
2323
NODE_ENV: production
24-
ARANGO_URL: http://arangodb:8529
24+
ARANGO_URL: https://arangodb:8529
2525
ARANGO_DATABASE: accessibility
2626
ARANGO_USERNAME: root
2727
ARANGO_PASSWORD: ${ARANGO_ROOT_PASSWORD:-development}
@@ -47,7 +47,7 @@ services:
4747
dockerfile: tools/adoption-tracker/Dockerfile
4848
container_name: accessibility-scanner
4949
environment:
50-
ARANGO_URL: http://arangodb:8529
50+
ARANGO_URL: https://arangodb:8529
5151
ARANGO_DATABASE: accessibility
5252
ARANGO_USERNAME: root
5353
ARANGO_PASSWORD: ${ARANGO_ROOT_PASSWORD:-development}

tools/browser-extension/axe.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/monitoring-api/src/routes/badge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function generateBadgeSVG(score: number): string {
6666
}[grade];
6767

6868
return `
69-
<svg xmlns="http://www.w3.org/2000/svg" width="160" height="28" role="img" aria-label="Accessibility: ${grade}">
69+
<svg xmlns="https://www.w3.org/2000/svg" width="160" height="28" role="img" aria-label="Accessibility: ${grade}">
7070
<title>Accessibility Score: ${score} (Grade ${grade})</title>
7171
<linearGradient id="s" x2="0" y2="100%">
7272
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>

0 commit comments

Comments
 (0)