Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion linter/spectral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ rules:
field: url
function: pattern
functionOptions:
match: ^https://.*
match: ^(https://.*|/.*)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Er zijn ook andere soorten relatieve URLs:

  • //... (protocol-relatief)
  • ../... of segment/... (relatieve paden)

Die laatste wordt door deze regex niet toegestaan.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Aangepast. Even los van de discussie of je al die verschillende vormen wilt toestaan.


nlgov:use-problem-schema:
severity: warn
Expand Down