
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
= Rack Cookie Monster
A rack middleware library that allows for cookies to be passed through form parameters. Specifically, it merges the specified form parameters into the Cookie header of an http request. It gets around the problem of having a flash application which interacts with a web application that uses cookie based sessions.
= Contributing The environment can be configured by using bundler.
gem bundle or rake setup:contrib
= Usage
Rails Example:
Rack::CookieMonster.configure do |c| c.eat :_session_id c.eat :user_credentials c.share_with /^(Adobe|Shockwave) Flash/ c.share_with "Burt" end
Rack::CookieMonster.configure_for_rails
Rack Example:
class CookieMonsterApplication def call(env) cookies = ::Rack::Request.new(env).cookies res = ::Rack::Response.new res.write %{ Form
Cookie 1: Cookie 2: Non Cookie: #{ cookies.map do |k,v| "#{k} - #{v}
" end.join("\n") } } res.finish end enduse Rack::CookieMonster, { :cookies => [:cookie_1, :cookie_2], :share_with => /firefox/i } run CookieMonsterApplication.new
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.