When vip dev-env import sql validates the file, it may incorrectly suggest replacements, like
Warning: Siteurl/home options not pointing to lando domain on line 951461.
Recommendation: Use '--search-replace="home,vip-local.vipdev.lndo.site"' switch to replace the domain
Debugging shows that the following snippet triggers this suggestion:
When
vip dev-env import sql
validates the file, it may incorrectly suggest replacements, likeDebugging shows that the following snippet triggers this suggestion:
The relevant code: https://github.com/Automattic/vip-cli/blob/64c2d6412f80e529aa53c6549a1bf1a6a8e2c61a/src/lib/validations/sql.ts#L338-L346
We should probably check that the URL found starts with
http://
orhttps://
.Ref: 188464-z