Coder Social home page Coder Social logo

ssl_helper's People

Contributors

freegenie avatar nightscape avatar vjt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

vjt nightscape

ssl_helper's Issues

Problem with redirects after POST

There's an issue with redirect that happen due to either require_ssl or refuse_ssl when the request is coming is not a GET one.
All params are given to redirect_to, this results in all fields being put in querystring on the destination page. This is obviously a security issue and needs to be fixed. A form should not know in advance if the destination resource accepts or refuses SSL.

I'm lost... What do I include in ApplicationController.rb?

ssl_requirement makes me include SSLRequirment in the application controller.

I thought this was similar, but no such luck with that code in the app controller.

Am I missing something, how does this work? Does just including the gem make it work (i.e., redirect from http to https for certain controller actions? if so how?

any guidance is appreciated.

Server configuration ?

Hey,

ok, in the Server configuration section, you mention adding the X-PROTO line in a location...

but you have that location as / or root, will that work throughout the whole site? and subdomains, and everything?

my nginx fu is weak, but I too am using it. I've not had much luck on google so thought I'd ask.

Once i get this up, i may add to your README or put up an article in your wiki for guys who need more hand holding like me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.