Giter Site home page Giter Site logo

washu / owasp-esapi-ruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thesp0nge/owasp-esapi-ruby

1.0 2.0 0.0 1.23 MB

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.

Home Page: http://www.owasp.org/index.php/Projects/Owasp_Esapi_Ruby

License: BSD 3-Clause "New" or "Revised" License

Ruby 100.00%

owasp-esapi-ruby's Introduction

= 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.

== 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.

owasp-esapi-ruby's People

Contributors

washu avatar thesp0nge avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

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.