Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firestore: reject invalid paths passed to 'Query.{select,where,order_by}' #6770

Merged
merged 2 commits into from
Nov 30, 2018
Merged

Firestore: reject invalid paths passed to 'Query.{select,where,order_by}' #6770

merged 2 commits into from
Nov 30, 2018

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Nov 30, 2018

No description provided.

@tseaver tseaver added the api: firestore Issues related to the Firestore API. label Nov 30, 2018
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 30, 2018
@@ -482,6 +484,70 @@ def get_field_path(field_names):
return FIELD_PATH_DELIMITER.join(result)


PATH_ELEMENT_TOKENS = [
('SIMPLE', r'[_a-zA-Z][_a-zA-Z0-9]*'), # unquoted elements

This comment was marked as spam.

This comment was marked as spam.

@tseaver tseaver merged commit 92a907a into googleapis:master Nov 30, 2018
@tseaver tseaver deleted the 6736-firestore-query-invalid_paths-select-where-order_by branch November 30, 2018 22:26
erikwebb pushed a commit to erikwebb/google-cloud-python that referenced this pull request Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the Firestore API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants