Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
T
tangled
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • eriksson monteiro
  • tangled
  • Repository

Switch branch/tag
  • tangled
  • content
  • test
  • data
  • sxg
  • test.example.org_test.html.gz.sxg
Find file HistoryPermalink
  • Kunihiko Sakamoto's avatar
    SignedEchange: Fallback if additional content-encodings are applied · 44cd9a89
    Kunihiko Sakamoto authored Feb 26, 2019
    Before this patch, Content-Encoding header of inner response was not
    checked (content was assumed to be "mi-sha256-03" encoded).
    
    Currently we only support "mi-sha256-03" inner encoding, so this patch
    makes SignedExchangeHandler reject (causing fallback redirect) the
    signed exchange if its inner Content-Encoding is not just "mi-sha256-03".
    
    This also refactors the logic to check integrity scheme, by moving them
    into single place, SignedExchangeHandler::CreateResponseBodyStream().
    
    Note: This shouldn't affect amppackager, because it strips additional
    content-encodings in b3.
    https://github.com/ampproject/amppackager/issues/243
    
    Bug: 931055, 934629
    Change-Id: Icc0bde36194d4a387ab30968cccf1bef4c81fe60
    Reviewed-on: https://chromium-review.googlesource.com/c/1482351Reviewed-by: default avatarTsuyoshi Horo <horo@chromium.org>
    Reviewed-by: default avatarKouhei Ueno <kouhei@chromium.org>
    Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#635413}
    44cd9a89
test.example.org_test.html.gz.sxg 701 Bytes

Download (701 Bytes)

Replace test.example.org_test.html.gz.sxg

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.