Sha256: 1859508b98695fe70c1ccaab146512e5243d3882c12b1d65ef8a221fb6ee4cc0
Contents?: true
Size: 616 Bytes
Versions: 21
Compression:
Stored size: 616 Bytes
Contents
require 'sinatra' get '/' do <<-EOHTML <a href="/insecure">Insecure</a> <a href="/secure">Secure</a> EOHTML end get '/insecure' do <<-EOHTML <form> <input name='insecure' type='password' /> </form> <form> <input name='insecure_2' type='password' /> </form> Will be ignored. <form> <input type='password' /> </form> EOHTML end get '/secure' do <<-EOHTML <form action="https://localhost/crap"> <input name='secure' type='password' /> </form> EOHTML end
Version data entries
21 entries across 21 versions & 1 rubygems