Skip to content

fix: avoid \x00 in regex validator (again...)#9111

Merged
jennifer-richards merged 1 commit into
ietf-tools:feat/rpc-api-drffrom
jennifer-richards:control-chars
Jul 8, 2025
Merged

fix: avoid \x00 in regex validator (again...)#9111
jennifer-richards merged 1 commit into
ietf-tools:feat/rpc-api-drffrom
jennifer-richards:control-chars

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

This reverts commit d8656f4.

@jennifer-richards
jennifer-richards merged commit 8571ce8 into ietf-tools:feat/rpc-api-drf Jul 8, 2025
2 checks passed
@jennifer-richards
jennifer-richards deleted the control-chars branch July 8, 2025 16:55
jennifer-richards added a commit that referenced this pull request Jul 8, 2025
* refactor: rpc_person -> PersonViewSet

* refactor: rpc_subject_person -> SubjectPersonView

* refactor: rpc_persons -> RpcPersonsView

* refactor: move get_persons into PersonViewSet

Changes the interface to return a list of Persons instead of a map from ID to name.

* refactor: rpc_draft -> DraftViewSet

* refactor: drafts_by_names -> DraftsByNameView

* refactor: submitted_to_rpc -> DraftViewSet

* refactor: rfc_original_stream -> RfcViewSet

* refactor: rpc demo APIs -> viewset

* refactor: get_draft_refs -> DraftViewSet

* refactor: persons_by_email -> PersonViewSet

* refactor: rfc_authors -> RfcViewSet

* refactor: draft_authors -> DraftViewSet

* refactor: avoid \x00 in regex validator

Gets turned into a literal nul somewhere in the process of generating a schema and building a Python client for purple. This has the same effect but avoids the nul.

* fix: missing arg on references() action

* style: ruff, remove unused imports

* style: ruff ruff

* chore: remove rpcapi.yaml

* refactor: move API to /api/purple

Side effect is that the purple API client is named PurpleApi instead of RpcApi.

* fix: get_draft_authors returns DraftWithAuthors

* fix: distinguish CharField flavors

* fix: no serializer validators for draft name/title

This prevents at least one existing draft from being looked up.

* fix: get_draft_authors works with str, not int

* Revert "refactor: avoid \x00 in regex validator"

This reverts commit 63f40cf

* Revert "Revert "refactor: avoid \x00 in regex validator"" (#9111)

This reverts commit d8656f4.
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants