Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alnr
Copy link
Contributor

@alnr alnr commented Nov 30, 2022

Request cookies were already available in raw form in the ctx.request_headers top-level argument to the Jsonnet snippet. Parsing cookies in Jsonnet is tedious and error-prone, though, so we parse them internally for convenience.

Ref https://github.com/ory-corp/cloud/issues/3434

@alnr alnr self-assigned this Nov 30, 2022
@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Merging #2917 (8e416f3) into master (624e1f0) will decrease coverage by 0.13%.
The diff coverage is 83.33%.

❗ Current head 8e416f3 differs from pull request most recent head bcbd8fe. Consider uploading reports for the commit bcbd8fe to get more accurate results

@@            Coverage Diff             @@
##           master    #2917      +/-   ##
==========================================
- Coverage   76.30%   76.17%   -0.14%     
==========================================
  Files         309      308       -1     
  Lines       19189    18943     -246     
==========================================
- Hits        14642    14429     -213     
+ Misses       3421     3394      -27     
+ Partials     1126     1120       -6     
Impacted Files Coverage Δ
selfservice/hook/web_hook.go 79.89% <83.33%> (+0.34%) ⬆️
persistence/sql/persister_courier.go 82.82% <0.00%> (-4.60%) ⬇️
courier/courier_dispatcher.go 54.23% <0.00%> (-3.41%) ⬇️
session/session.go 76.98% <0.00%> (-3.36%) ⬇️
courier/message.go 66.66% <0.00%> (-2.90%) ⬇️
x/xsql/sql.go 93.10% <0.00%> (-1.50%) ⬇️
courier/smtp.go 70.22% <0.00%> (-0.15%) ⬇️
courier/test/persistence.go 100.00% <0.00%> (ø)
courier/message_dispatch.go
courier/handler.go 91.89% <0.00%> (+10.93%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, just one small naming change _)

Request cookies were already available in raw form in
the ctx.request_headers top-level argument to the Jsonnet snippet.
Parsing cookies in Jsonnet is tedious and error-prone, though, so
we parse them internally for convenience.
@alnr alnr force-pushed the cookies-in-webhook branch from 40adae6 to bcbd8fe Compare December 1, 2022 08:49
@alnr alnr merged commit 70ed068 into master Dec 1, 2022
@alnr alnr deleted the cookies-in-webhook branch December 1, 2022 10:56
peturgeorgievv pushed a commit to senteca/kratos-fork that referenced this pull request Jun 30, 2023
…2917)

Request cookies were already available in raw form in
the ctx.request_headers top-level argument to the Jsonnet snippet.
Parsing cookies in Jsonnet is tedious and error-prone, though, so
we parse them internally for convenience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants