Skip to content

Commit b42e191

Browse files
committed
README.rst: remove :ref: usage
1 parent e942d28 commit b42e191

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Changes
66

77
* **Security bug fix:**
88

9-
If you use ``HttpAuthMiddleware`` (i.e. the ``http_user`` and ``http_pass``
9+
If you use HttpAuthMiddleware_ (i.e. the ``http_user`` and ``http_pass``
1010
spider attributes) for Splash authentication, any non-Splash request will
1111
expose your credentials to the request target. This includes ``robots.txt``
1212
requests sent by Scrapy when the ``ROBOTSTXT_OBEY`` setting is set to

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ to ``splash_headers`` if you want to change credentials per-request::
602602
yield SplashRequest(url, self.parse,
603603
splash_headers={'Authorization': auth})
604604

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

0 commit comments

Comments
 (0)