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

gateway: disable Suborigins as it conflicts the spec #3519

Merged
merged 1 commit into from
Dec 21, 2016

Conversation

Kubuxu
Copy link
Member

@Kubuxu Kubuxu commented Dec 19, 2016

The Suborigins spec was changed and we have to adjust, the spec is still
unstable and it might change in future. Currently the only browser
supporting it (Chrome) errors out on it as it doesn't confront spec it
uses.

See ipfs/specs#131

Part of #3209

Proper solution requires: deciding on suborigin prefix, propagating go-multibase changes and exposing cid.EncodeWithBase.

We can do that but I would want this to be fixed in 0.4.5 and we want to release very soon.

License: MIT
Signed-off-by: Jakub Sztandera [email protected]

@Kubuxu Kubuxu added the status/in-progress In progress label Dec 19, 2016
@ghost
Copy link

ghost commented Dec 19, 2016

LGTM, thanks!

@ghost
Copy link

ghost commented Dec 19, 2016

To fix the code coverage it's okay to just comment or remove the code in question. We have revision control and the new code will look different anyhow :)

@Kubuxu
Copy link
Member Author

Kubuxu commented Dec 19, 2016

Yeah, I will just remove it.

The Suborigins spec was changed and we have to adjust, the spec is still
unstable and it might change in future. Currently the only browser
supporting it (Chrome) errors out on it as it doesn't confront spec it
uses.

See ipfs/specs#131

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
@Kubuxu Kubuxu force-pushed the fix/gateways/suborigins-off branch from 44b27ea to 912a972 Compare December 19, 2016 13:42
@Kubuxu Kubuxu self-assigned this Dec 19, 2016
@ghost ghost added this to the ipfs 0.4.5 milestone Dec 20, 2016
Copy link
Member

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frustrating that they changed the spec. Who do we have to harass to fix this?

anyways, LGTM for now

@whyrusleeping whyrusleeping merged commit 17699b2 into master Dec 21, 2016
@whyrusleeping whyrusleeping deleted the fix/gateways/suborigins-off branch December 21, 2016 19:20
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Dec 21, 2016
@ghost ghost mentioned this pull request Dec 23, 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