Skip to content

Commit

Permalink
Block redirects and sxg's inside sxg's.
Browse files Browse the repository at this point in the history
As previously agreed with Chrome's loading team.
  • Loading branch information
jyasskin committed Aug 6, 2018
1 parent aee7d0d commit 2cdb79d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions loading.bs
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,12 @@ following steps:
either "`deprecated`" or "`modern`".

Note: See <a spec="fetch">HTTP-network fetch</a> for details of this choice.
1. If |parsedExchange|'s [=exchange/response=]'s [=response/status=] is a
[=redirect status=] or the [=signed exchange version=] of |parsedExchange|'s
[=exchange/response=] is not undefined, return a failure.

Note: This may simplify the UA's implementation, since it doesn't have to
handle nested signed exchanges.
1. [=Read a body=] from |stream| into |parsedExchange|'s [=exchange/response=]
using |parsedSignature| to check its integrity. If this is a failure, return
the failure.
Expand Down

0 comments on commit 2cdb79d

Please sign in to comment.