Unable to use mongolab strings and cannot delete #148

Closed
cyberwombat opened this Issue Dec 8, 2013 · 5 comments

Comments

Projects
None yet
2 participants
@cyberwombat

I wanted to manage a MongoLab db so I added the server string which looks like this:

 nodejitsu_user:7asdbaeras8dqw4bqwads@8ashs9668-a0.mongolab.com:59668/mydb

But then I do that and then click on it I get a 404 server not found. I also cannot delete it - I click delete and confirm and disappears until I reload the page.

Using ruby version 2.3.8

@bobthecow

This comment has been minimized.

Show comment
Hide comment
@bobthecow

bobthecow Dec 10, 2013

Owner

I might have just figured this issue out. Do you have rack-protection gem v1.5.1 installed? If so, do you mind removing it, installing v1.5.0, and trying that?

gem uninstall rack-protection -a
gem install rack-protection -v 1.5.0
Owner

bobthecow commented Dec 10, 2013

I might have just figured this issue out. Do you have rack-protection gem v1.5.1 installed? If so, do you mind removing it, installing v1.5.0, and trying that?

gem uninstall rack-protection -a
gem install rack-protection -v 1.5.0
@cyberwombat

This comment has been minimized.

Show comment
Hide comment
@cyberwombat

cyberwombat Dec 10, 2013

That did the trick

That did the trick

@bobthecow

This comment has been minimized.

Show comment
Hide comment
@bobthecow

bobthecow Dec 10, 2013

Owner

If you're curious, the problem is that rack-protection mistakenly thinks the appropriate way to prevent directory traversal is to decode every encoded slash in the path :-/

I'll get a release out momentarily with a workaround.

Owner

bobthecow commented Dec 10, 2013

If you're curious, the problem is that rack-protection mistakenly thinks the appropriate way to prevent directory traversal is to decode every encoded slash in the path :-/

I'll get a release out momentarily with a workaround.

@cyberwombat

This comment has been minimized.

Show comment
Hide comment
@cyberwombat

cyberwombat Dec 10, 2013

Ah - cool - well no huge hurry for me as the only thing I use ruby for is this app :)

Ah - cool - well no huge hurry for me as the only thing I use ruby for is this app :)

@bobthecow

This comment has been minimized.

Show comment
Hide comment
@bobthecow

bobthecow Dec 10, 2013

Owner

And released!

Owner

bobthecow commented Dec 10, 2013

And released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment