Skip to content

Commit 4dbe59f

Browse files
committed
prepare files for 0.1.9 release
1 parent 6277ba0 commit 4dbe59f

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.1.9 (October 15th, 2010)
4+
* add a flag as an optional 2nd parameter to EscapeUtils.escape_html to disable/enable the escaping of the '/' character. Defaults to the new flag EscapeUtils.html_secure
5+
36
## 0.1.8 (September 29th, 2010)
47
* fix URI escaping one last time ;)
58

escape_utils.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
Gem::Specification.new do |s|
77
s.name = %q{escape_utils}
8-
s.version = "0.1.8"
8+
s.version = "0.1.9"
99

1010
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
1111
s.authors = ["Brian Lopez"]
12-
s.date = %q{2010-09-29}
12+
s.date = %q{2010-10-15}
1313
s.email = %q{seniorlopez@gmail.com}
1414
s.extensions = ["ext/extconf.rb"]
1515
s.extra_rdoc_files = [

lib/escape_utils.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
EscapeUtils.send(:extend, EscapeUtils)
66
module EscapeUtils
7+
VERSION = "0.1.9"
8+
79
# turn on/off the escaping of the '/' character during HTML escaping
810
# Escaping '/' is recommended by the OWASP - http://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content
911
# This is because quotes around HTML attributes are optional in most/all modern browsers at the time of writing (10/15/2010)
@@ -16,7 +18,5 @@ def self.html_secure=(val)
1618
@@html_secure = val
1719
end
1820

19-
VERSION = "0.1.8"
20-
2121
autoload :HtmlSafety, 'escape_utils/html_safety'
2222
end

0 commit comments

Comments
 (0)