tn3w / flask_Captchaify

A strong Captcha and bot protection system for Flask with many features: rate limiting, special rules for users, web crawler detection, and automatic bot detection.
https://pypi.org/project/flask-Captchaify/
GNU General Public License v3.0
14 stars 5 forks source link

Error in `_crawler_hints`. #5

Closed AAA3A-AAA3A closed 9 months ago

AAA3A-AAA3A commented 9 months ago

Hello,

Here a new error, sorry. As it's on a server and I can't test locally, it's difficult for me to make the changes myself.

Request finalizing failed with an error while handling an error
Traceback (most recent call last):
  File "/home/.../.local/lib/python3.10/site-packages/flask/app.py", line 894, in finalize_request
    response = self.process_response(response)
  File "/home/.../.local/lib/python3.10/site-packages/flask/app.py", line 1271, in process_response
    response = self.ensure_sync(func)(response)
  File "/home/.../.local/lib/python3.10/site-packages/flask_Captchaify/__init__.py", line 861, in _crawler_hints
    if found is None and not g.captchaify_page:
  File "/home/.../.local/lib/python3.10/site-packages/flask/ctx.py", line 56, in __getattr__
    raise AttributeError(name) from None
AttributeError: captchaify_page

Thanks in advance, Have a nice evening.

tn3w commented 9 months ago

Thank you (again) for disclosing this issue.

With version 1.6.3 this error should be fixed To see all the changes click here: https://github.com/tn3w/flask_Captchaify/compare/3e6f3673d93948ba674252614d47f9ddbcc0fcaa...4f73ddcc71efe0a253bdd612fd63788dec315aad