Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Conversation

@mkevins
Copy link
Contributor

@mkevins mkevins commented Feb 18, 2022

Related PR: WordPress-iOS/17985

Description

This adds invalidQuery ("invalid_query") to the WordPressComRestApiError enum. This is used to detect invalid domain queries when unsupported characters are present in the query string.

Fixes wordpress-mobile/WordPress-iOS#15155

Testing Details

Manually test via the related PR, and also optionally run the automated tests added here.

  • Please check here if your pull request includes additional test coverage.
  • I have considered updating the version in the .podspec file.

@mkevins mkevins requested a review from ovitrif March 7, 2022 05:07
@mkevins mkevins marked this pull request as ready for review March 7, 2022 05:33
@ovitrif ovitrif self-assigned this Mar 7, 2022
@ovitrif ovitrif added the enhancement New feature or request label Mar 7, 2022
Copy link
Contributor

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

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

Thank you for this PR Matthew!

The code LGTM, thank you for adding the test!

@ovitrif ovitrif merged commit 7ff9683 into trunk Mar 7, 2022
@ovitrif ovitrif deleted the add/invalid-query-wpcom-error branch March 7, 2022 11:46
@mkevins mkevins restored the add/invalid-query-wpcom-error branch March 7, 2022 22:12
@mkevins mkevins deleted the add/invalid-query-wpcom-error branch March 7, 2022 22:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improving Error Messaging for non-English characters in Site Creation Flow

3 participants