-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disallow forms (with CAPTCHA) to bots #438
Disallow forms (with CAPTCHA) to bots #438
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small change is requested as we changed this from kebbab-case to camel-case in the meantime.:
The other rules work as intended (I tested them using Merkle):
Co-authored-by: Ivan R. Mršulja <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have re-run all the tests using Merkle and now everything works as intended. Steps to reproduce the tests:
- Setup a publicly available Vitro server (I reccommend using a tool like NGROK)
- If the vivo does not run on the root URL and instead you have to go to
/vitro
or something similar, you have to providerobots.txt
manually in the text editor - Choose the crawler of your choice from dropdown menu and try to fetch any of the disallowed domains
* Disallow forms (with CAPTCHA) to bots * Update webapp/src/main/webapp/robots.txt Co-authored-by: Ivan R. Mršulja <[email protected]> --------- Co-authored-by: Ivan R. Mršulja <[email protected]>
* Disallow forms (with CAPTCHA) to bots * Update webapp/src/main/webapp/robots.txt Co-authored-by: Ivan R. Mršulja <[email protected]> --------- Co-authored-by: Ivan R. Mršulja <[email protected]>
VIVO GitHub issue: 3935
Linked VIVO PR
What does this pull request do?
Disallow access to /contact and /forgot-password to bots (at least to bots which respect robots.txt)
What's new?
robots.txt is updated
How should this be tested?
Follow the instructions in Linked VIVO PR
Interested parties
Tag (@ mention) interested parties or, if unsure, @VIVO-project/vivo-committers