Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Bug fix: Sanitize network name for graphql query in db #4198

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Conversation

eggplantzzz
Copy link
Contributor

Inspired by #3981

This PR fixes a bug caused by network names with characters that, when inserted into a GraphQL query, would break the query. For example, the network name "my-network" would break the query due to the "-". The PR sanitizes the name with a regex.

@eggplantzzz
Copy link
Contributor Author

Thanks for the help on this @gnidan!

@eggplantzzz eggplantzzz merged commit d129001 into develop Jul 22, 2021
@eggplantzzz eggplantzzz deleted the db-fix branch July 22, 2021 17:48
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