You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you do not include a trailing slash after the tld in your domain, claycli enters an infinite loop. https://nymag.com is a valid url (new URL('https://nymag.com') returns a valid URL object) but using it as input for findURI enters an infinite loop.
The same result as if I had included the trailing slash in the URL
clayrest=require('claycli/lib/rest')clayrest.findURI('http://nymag.com/').pluck('uri').pipe(process.stdout)// returns the page uri of the current homepage `nymag.com/_pages/homepage`
Screenshots
If applicable, add screenshots to help explain your problem.
Specs
Desktop
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
macgyver
changed the title
infinite loop in findURI with sld and no trailing /
infinite loop in findURI with tld and no trailing /Aug 29, 2019
Description
if you do not include a trailing slash after the tld in your domain, claycli enters an infinite loop.
https://nymag.com
is a valid url (new URL('https://nymag.com')
returns a valid URL object) but using it as input forfindURI
enters an infinite loop.Steps to Reproduce
Expected Behavior
The same result as if I had included the trailing slash in the URL
Screenshots
If applicable, add screenshots to help explain your problem.
Specs
Desktop
Smartphone
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: