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

Fix URL Compatibility with 2.0.0 #236

Merged
merged 4 commits into from
Oct 9, 2019
Merged

Conversation

yeastplume
Copy link
Member

Unintended consequence of earlier changes to how urls are handled meant that everything but the base URL was being stripped when sending to another wallet. This fix reverts to earlier behaviour, keeping the entire URL+Path intact.

Going to merge into master first, then cherry-pick into the current/2.1.x branch

@yeastplume
Copy link
Member Author

yeastplume commented Oct 9, 2019

Removed URL lib altogether (which is opinionated about how URLs should be formed).

Stuff like the following should be allowed (as in 2.0.0)

https://poloniex.com/public?currency=GRIN&command=createDeposit&id=2a35f07d-1e55-4cfe-86a0-6660ec2cc6c5/v2/foreign

So reverted back to just simple appending of strings to form the final destination url.

@yeastplume yeastplume merged commit 8c1d326 into mimblewimble:master Oct 9, 2019
yeastplume added a commit to yeastplume/grin-wallet that referenced this pull request Oct 9, 2019
* fix url scheme for consistency with 2.0.0

* rustfmt

* remove URL lib and go back to parsing strings for the dest url

* rustmft
@yeastplume yeastplume mentioned this pull request Oct 9, 2019
yeastplume added a commit that referenced this pull request Oct 9, 2019
* Fix URL Compatibility with 2.0.0 (#236)

* fix url scheme for consistency with 2.0.0

* rustfmt

* remove URL lib and go back to parsing strings for the dest url

* rustmft

* update version number
@yeastplume yeastplume deleted the url_fix branch October 21, 2019 12:45
yyangli pushed a commit to mwcproject/mwc-wallet that referenced this pull request May 13, 2020
* fix url scheme for consistency with 2.0.0

* rustfmt

* remove URL lib and go back to parsing strings for the dest url

* rustmft
antiochp pushed a commit to antiochp/grin-wallet that referenced this pull request Aug 7, 2020
* fix url scheme for consistency with 2.0.0

* rustfmt

* remove URL lib and go back to parsing strings for the dest url

* rustmft
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