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

Update indexOf method parameter #152

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

vinayakanivase
Copy link

Fixes the issue with url.substr(0, url.indexOf('/wp-')) returning only incomplete scheme ('http:/' or 'https:/'), when the domain starts with 'wp-' (e.g. http://wp-playground.test).

Fixes the issue with url.substr(0, url.indexOf('/wp-')) returning only incomplete scheme ('http:/' or 'https:/'), when the domain starts with 'wp-' (e.g. http://wp-playground.test).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant