Merge lp:~maxiberta/canonical-identity-provider/update-robots.txt into lp:canonical-identity-provider/release
Proposed by
Maximiliano Bertacchini
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | no longer in the source branch. |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | lp:~maxiberta/canonical-identity-provider/update-robots.txt |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
25 lines (+13/-4) 1 file modified
src/webui/templates/static/robots.txt (+13/-4) |
To merge this branch: | bzr merge lp:~maxiberta/canonical-identity-provider/update-robots.txt |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email: mp+354785@code.launchpad.net |
Commit message
Update robots.txt.
Description of the change
- Limit URLs with an ending '$' where appropriate.
- Duplicate rules with an encoded '+' (currently cowboyed in prod as per https:/
- Add /saml endpoint exclusion.
To post a comment you must log in.
This is the current robots.txt on production (cowboy):
User-agent: *
Disallow: /+bad-token
Disallow: /+deactivated
Disallow: /+logout
Disallow: /+logout-to-confirm
Disallow: /+openid
Disallow: /+saml
Disallow: /+suspended
# 2018-09-06 maxiberta cowboy (lp:1787823) to-confirm$
Disallow: /%2Bbad-token$
Disallow: /%2Bdeactivated$
Disallow: /%2Blogout$
Disallow: /%2Blogout-
Disallow: /%2Bopenid$
Disallow: /%2Bsaml$
Disallow: /%2Bsuspended$
I spot a few differences, see below, but +1'd in case I'm just misunderstanding where the $ ending is needed.