Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The Owasp Esapi Ruby is a port for outstanding release quality Owasp Esapi project to the Ruby programming language. The idea is to build a Ruby gem (the standard ruby library archive format) containing the Esapi concepts implemented in Ruby classes so people using Ruby in their Rails application can have security into them.

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 ISSUES
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 owasp-esapi-ruby.gemspec
README
= The Owasp ESAPI Ruby project

== Introduction

The Owasp ESAPI Ruby is a port for outstanding release quality Owasp ESAPI
project to the Ruby programming language. 

Ruby is now a famous programming language due to its Rails framework developed by David Heinemeier Hansson (http://twitter.com/dhh) that simplify the creation of a web application using a convention over configuration approach to simplify programmers' life.

Despite Rails diffusion, there are a lot of Web framework out there that allow people to write web apps in Ruby (merb, sinatra, vintage) [http://accidentaltechnologist.com/ruby/10-alternative-ruby-web-frameworks/]. Owasp Esapi Ruby wants to bring all Ruby deevelopers a gem full of Secure APIs they can use whatever the framework they choose.

https://secure.travis-ci.org/thesp0nge/owasp-esapi-ruby.png

== Why supporting only Ruby 1.9.2 and beyond?

The OWASP Esapi Ruby gem will require at least version 1.9.2 of Ruby interpreter to make sure to have full advantages of the newer language APIs.

In particular version 1.9.2 introduces radical changes in the following areas:

=== Regular expression engine
(to be written)

=== UTF-8 support
Unicode support in 1.9.2 is much better and provides better support for character set encoding/decoding
* All strings have an additional chunk of info attached: Encoding
* String#size takes encoding into account – returns the encoded character count
* You can get the raw datasize
* Indexed access is by encoded data – characters, not bytes
* You can change encoding by force but it doesn’t convert the data

=== Dates and Time
From "Programming Ruby 1.9"

"As of Ruby 1.9.2, the range of dates that can be represented is no longer limited by the under- lying operating system’s time representation (so there’s no year 2038 problem). As a result, the year passed to the methods gm, local, new, mktime, and utc must now include the century—a year of 90 now represents 90 and not 1990."

== Roadmap

Please see ChangeLog file. 

== Note on Patches/Pull Requests
 
* Fork the project.
* Create documentation with rake yard task
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2011 the OWASP Foundation. See LICENSE for details.
Something went wrong with that request. Please try again.