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

Unable to use mongolab strings and cannot delete #148

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

Unable to use mongolab strings and cannot delete #148

cyberwombat opened this issue Dec 8, 2013 · 5 comments
Labels
bug

Comments

@cyberwombat
Copy link

@cyberwombat cyberwombat commented Dec 8, 2013

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
Copy link
Owner

@bobthecow 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
Copy link
Author

@cyberwombat cyberwombat commented Dec 10, 2013

That did the trick

@bobthecow
Copy link
Owner

@bobthecow 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
Copy link
Author

@cyberwombat cyberwombat commented Dec 10, 2013

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

@bobthecow
Copy link
Owner

@bobthecow 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.