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

Build Chain Fails When URI has Trailing / #12

Open
jhkolb opened this issue May 25, 2016 · 0 comments
Open

Build Chain Fails When URI has Trailing / #12

jhkolb opened this issue May 25, 2016 · 0 comments

Comments

@jhkolb
Copy link
Contributor

jhkolb commented May 25, 2016

The bw2 router crashes if you attempt to build a chain from the command line and the URI has a trailing /. For example, the following command works correctly:

bw2 bc -u jkolb/demo/out -t <entity>

While this command crashes the router:

bw2 bc -u jkolb/demo/out/ -t <entity>

Here's the output from the router:

[CRT] 21:40:08 2016-05-24 commands.go:354 CB fail: Invalid URI
panic: Invalid URI

goroutine 1690 [running]:
panic(0x118ebe0, 0xc820207950)
        /usr/local/go/src/runtime/panic.go:464 +0x3e6
github.com/immesys/bw2/adapter/oob.(*boundFrame).cmdBuildChain.func2(0xc824933a80, 0xc8240203a0)
        /go/src/github.com/immesys/bw2/adapter/oob/commands.go:355 +0x2a7
created by github.com/immesys/bw2/adapter/oob.(*boundFrame).cmdBuildChain
        /go/src/github.com/immesys/bw2/adapter/oob/commands.go:383 +0x4cc
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

No branches or pull requests

1 participant