web: Save two 301 redirects from /privacy to /privacy/ to /policies/privacy.

This commit is contained in:
Alex Vandiver 2023-03-23 03:14:27 +00:00 committed by Tim Abbott
parent 822683249d
commit b5731c55b7
4 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
This page covers how Zulip interacts with the EU's landmark GDPR
legislation; you can read the
[Zulip Cloud privacy policy](https://zulip.com/privacy) for our
[Zulip Cloud privacy policy](https://zulip.com/policies/privacy) for our
general privacy policies.
## What is GDPR?

View File

@ -60,7 +60,7 @@ If you learn of any unauthorized use of your password or account, contact
### Privacy and Copyright Protection
The Kandra Labs [privacy policy](/privacy) explains how we treat your
The Kandra Labs [privacy policy](/policies/privacy) explains how we treat your
personal data and protect your privacy when you use our Services. By using our
Services, you agree that Kandra Labs can use such data in accordance with our
privacy policy.

View File

@ -43,7 +43,7 @@ class HelpDocumentationSpider(UnusedImagesLinterSpider):
name = "help_documentation_crawler"
start_urls = ["http://localhost:9981/help"]
deny_domains: List[str] = []
deny = ["/privacy"]
deny = ["/policies/privacy"]
images_path = "static/images/help"
@ -71,7 +71,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):
"http://localhost:9981/apps/",
"http://localhost:9981/integrations/",
"http://localhost:9981/policies/terms",
"http://localhost:9981/privacy",
"http://localhost:9981/policies/privacy",
"http://localhost:9981/features",
"http://localhost:9981/why-zulip",
"http://localhost:9981/for/open-source",

View File

@ -636,7 +636,7 @@ class PrivacyTermsTest(ZulipTestCase):
self.assert_in_success_response(["Kandra Labs"], result)
def test_no_nav(self) -> None:
# Test that our ?nav=0 feature of /privacy and /policies/terms,
# Test that our ?nav=0 feature of /policies/privacy and /policies/terms,
# designed to comply with the Apple App Store draconian
# policies that ToS/Privacy pages linked from an iOS app have
# no links to the rest of the site if there's pricing