Skip to content

Validate bill citation URLs as URIs#195

Open
c-tonneslan wants to merge 1 commit into
openstates:mainfrom
c-tonneslan:fix/citation-url-format
Open

Validate bill citation URLs as URIs#195
c-tonneslan wants to merge 1 commit into
openstates:mainfrom
c-tonneslan:fix/citation-url-format

Conversation

@c-tonneslan

Copy link
Copy Markdown

Citation block's url field was missing the format: uri constraint that every other URL field in the schema already has (document, event, source). Add it so a scraper can't sneak a malformed URL into a citation.

The citation block has a url field that wasn't being format-checked
like the other url fields in the schema (document url, event url,
source url all use format: uri).

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
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.

1 participant