Skip to content

Conversation

@pnxs
Copy link
Contributor

@pnxs pnxs commented Mar 14, 2016

with commit cccacb6 the logic was broken at
two points:

For the case "(parts[i] != "") && (parts[i][0] != '{') and ! first"
url_modded was set to "/" + url_modded + parts[i] instead of url_modded + "/" + parts[i]

The second error was subtracting variable 'bar' when bar == string::npos

with commit cccacb6 the logic was broken at
two points:

For the case "(parts[i] != "") && (parts[i][0] != '{') and ! first"
url_modded was set to "/" + url_modded + parts[i] instead of url_modded + "/" + parts[i]

The second error was subtracting variable 'bar' when bar == string::npos
@etr
Copy link
Owner

etr commented Mar 16, 2016

Thanks for spotting

etr added a commit that referenced this pull request Mar 16, 2016
FIX: logic error in refactoring
@etr etr merged commit 496458f into etr:master Mar 16, 2016
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

Successfully merging this pull request may close these issues.

2 participants