File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
* **Security bug fix: **
8
8
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 ``
10
10
spider attributes) for Splash authentication, any non-Splash request will
11
11
expose your credentials to the request target. This includes ``robots.txt ``
12
12
requests sent by Scrapy when the ``ROBOTSTXT_OBEY `` setting is set to
Original file line number Diff line number Diff line change @@ -602,7 +602,7 @@ to ``splash_headers`` if you want to change credentials per-request::
602
602
yield SplashRequest(url, self.parse,
603
603
splash_headers={'Authorization': auth})
604
604
605
- **WARNING: ** Don't use :ref: `HttpAuthMiddleware `
605
+ **WARNING: ** Don't use `HttpAuthMiddleware `_
606
606
(i.e. ``http_user `` / ``http_pass `` spider attributes) for Splash
607
607
authentication: if you occasionally send a non-Splash request from your spider,
608
608
you may expose Splash credentials to a remote website, as HttpAuthMiddleware
You can’t perform that action at this time.
0 commit comments