Skip to content

Commit

Permalink
Escaping test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbiehl committed Feb 14, 2024
1 parent b79ccdc commit 0d1e85a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Empty file.
10 changes: 10 additions & 0 deletions test/golden/file-package-escaping.output.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
capture: |-
Just
FlatfileCapture
{ fileAbsoluteUrl = Just "https://output.com/really%2Bnice"
, fileVariables = fromList [ ( "variable" , "really+nice" ) ]
, filePackage = "21c24cd1-73fa-4970-8a6a-bc570e55b91e"
}
headers:
Location: https://output.com/really%2Bnice
status: 302
11 changes: 11 additions & 0 deletions test/golden/file-package-escaping.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# multiple variables
path: "/some-nice-path/very-nice/really+nice"
headers:
Host: nicedomain.com
manifest:
rules:
- type: file-v1
incoming-path: "/some-nice-path/very-nice/{+variable}"
domain: nicedomain.com
package-id: 21c24cd1-73fa-4970-8a6a-bc570e55b91e
outgoing-url: https://output.com/{variable}

0 comments on commit 0d1e85a

Please sign in to comment.