Skip to content

Commit

Permalink
README.rst: remove :ref: usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio committed Oct 5, 2021
1 parent e942d28 commit b42e191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Changes

* **Security bug fix:**

If you use ``HttpAuthMiddleware`` (i.e. the ``http_user`` and ``http_pass``
If you use HttpAuthMiddleware_ (i.e. the ``http_user`` and ``http_pass``
spider attributes) for Splash authentication, any non-Splash request will
expose your credentials to the request target. This includes ``robots.txt``
requests sent by Scrapy when the ``ROBOTSTXT_OBEY`` setting is set to
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ to ``splash_headers`` if you want to change credentials per-request::
yield SplashRequest(url, self.parse,
splash_headers={'Authorization': auth})

**WARNING:** Don't use :ref:`HttpAuthMiddleware`
**WARNING:** Don't use `HttpAuthMiddleware`_
(i.e. ``http_user`` / ``http_pass`` spider attributes) for Splash
authentication: if you occasionally send a non-Splash request from your spider,
you may expose Splash credentials to a remote website, as HttpAuthMiddleware
Expand Down

0 comments on commit b42e191

Please sign in to comment.