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

Doesn't count spaces as difference between search terms #140

Open
pingram3541 opened this issue Jun 7, 2021 · 0 comments
Open

Doesn't count spaces as difference between search terms #140

pingram3541 opened this issue Jun 7, 2021 · 0 comments

Comments

@pingram3541
Copy link

Describe the bug
When searching for a url that has a trailing space after the domain, so as to replace it with a valid url that does not have a trailing space, it sees the search term as not being any different from the replace term.

To Reproduce
Steps to reproduce the behavior:

  1. Create a post and insert an image and then invalidate the url by adding a space after .com
    i.e //mysite.com /wp-content/media/....
  2. Go to 'Search & Replace'
  3. Click on 'Search for'
  4. Type in: '//mysite.com /'
  5. Click on 'Replace with'
  6. Type in: '//mysite.com/'
  7. Select (prefix)_posts table.
  8. Perform dry run

Expected behavior
Correctly determine urls w/ space do not match urls without space (i.e. %20%).

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

No branches or pull requests

1 participant