Skip to content

Commit

Permalink
robots: also disallow %5E (urlencoded caret)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Jan 8, 2025
1 parent c1be79c commit ff58850
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ Sitemap: https://docs.rs/sitemap.xml
# https://docs.rs/about/redirections
User-Agent: *
Disallow: */^
# %5E is '^', URL-encoded. Based on the Search Console, Google
# may be encoding '^' before checking against robots.txt.
Disallow: */%5E
Disallow: */~

0 comments on commit ff58850

Please sign in to comment.