cedar-policy / cedar-docs

Documentation for Cedar policy language
https://docs.cedarpolicy.com
Apache License 2.0
24 stars 23 forks source link

Update bp-normalize-data-input.md #39

Closed hanoj-budime closed 1 year ago

hanoj-budime commented 1 year ago

Issue #, if available: &&

permit (principal, action, resource)
when {
  context.url.host == "example.com" && // Won't match "EXAMPLE.COM"
  context.url.path == "/path/to/page"  // Won't match "///path/to/page"
};

Description of changes: &&

permit (principal, action, resource)
when {
  context.url.host == "example.com" && // Won't match "EXAMPLE.COM"
  context.url.path == "/path/to/page"  // Won't match "///path/to/page"
};