Jakub Narebski [Tue, 15 Dec 2009 21:27:11 +0000]
t/tags.t: Test escaping of attributes more extensively
Test escaping of attributes of XML element not only for '&', but also
for '<', '>' and '"'.
Test currently fails for escaping '"', which should be escaped as
'"' (at least for attribute with value delimited with '"'), and
not as '"' (note missing ';').
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Jakub Narebski [Tue, 15 Dec 2009 13:47:36 +0000]
t/tags.t: Test that Document Type Declaration (DTD or doctype) works
HTML documents are required to start with a Document Type Declaration
(informally, a 'doctype'). In browsers, the function of the doctype is
to indicate the rendering mode - particularly to avoid the quirks
mode.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Jakub Narebski [Sat, 12 Dec 2009 21:59:56 +0000]
t/tags.t: Test that XML processing instruction (<?xml ... ?>) works
We want to be able to e.g. put '<?xml version="1.0" encoding="UTF-8"?>'
XML declaration at the top of XHTML file.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Tomas Doran [Fri, 11 Dec 2009 09:41:20 +0000]
Add .gitignore
Jakub Narebski [Fri, 11 Dec 2009 01:54:52 +0000]
t/tags.t: Test of automatic escaping of user data
Test that user data passed to XML::Tags::to_xml_string is automatically escaped
(to protect against cross-side scripting attacks), and that mechanism to turned
automatic off escaping works.
This test can also serve as example on how to turn off autoescaping of user
data.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Arthur Axel 'fREW' Schmidt [Fri, 11 Dec 2009 05:16:01 +0000]
tests for html escaping (jnareb)
Arthur Axel 'fREW' Schmidt [Wed, 9 Dec 2009 00:11:08 +0000]
switch to Syntax::Keyword::Gather
Arthur Axel 'fREW' Schmidt [Sat, 5 Dec 2009 09:36:39 +0000]
changes for css_declare
Arthur Axel 'fREW' Schmidt [Sat, 5 Dec 2009 09:35:10 +0000]
Merge branch 'css_declare'
Arthur Axel 'fREW' Schmidt [Fri, 4 Dec 2009 03:10:00 +0000]
new html tag list from quackit.com/html_5/tags/
Arthur Axel 'fREW' Schmidt [Thu, 3 Dec 2009 05:38:18 +0000]
add lots of CSS properties (eskimo.com/~bloo/indexdot/css/propindex/all.htm)
Arthur Axel 'fREW' Schmidt [Thu, 3 Dec 2009 05:14:11 +0000]
better test for unimporting
Arthur Axel 'fREW' Schmidt [Tue, 1 Dec 2009 14:24:31 +0000]
Look how dumb I am
Arthur Axel 'fREW' Schmidt [Tue, 1 Dec 2009 14:24:15 +0000]
CSS::Declare works with arrays instead of arrayrefs
Arthur Axel 'fREW' Schmidt [Tue, 1 Dec 2009 05:31:52 +0000]
super basic tests for CSS::Declare, also dep
Matt S Trout [Tue, 1 Dec 2009 02:30:20 +0000]
changes line for 0.002 and bump version in Web/Simple.pm
Matt S Trout [Mon, 30 Nov 2009 22:54:00 +0000]
add hello-world.cgi example as file
Matt S Trout [Mon, 30 Nov 2009 22:26:38 +0000]
remove erroneous dispatch test
Matt S Trout [Mon, 30 Nov 2009 22:17:20 +0000]
sub {} == undef proto, sub () {} == '' proto
Matt S Trout [Mon, 30 Nov 2009 21:16:59 +0000]
fix Application.pm to handle empty sub protos correctly
Arthur Axel 'fREW' Schmidt [Fri, 27 Nov 2009 17:04:18 +0000]
Merge branch 'master' of catagits@git.shadowcat.co.uk:Web-Simple
Arthur Axel 'fREW' Schmidt [Fri, 27 Nov 2009 17:03:55 +0000]
wrap tests in blocks and a failing tests for ?foo=
Arthur Axel 'fREW' Schmidt [Fri, 27 Nov 2009 06:13:11 +0000]
examples, and rearrangement
Matt S Trout [Fri, 27 Nov 2009 02:51:34 +0000]
update Changes
Matt S Trout [Fri, 27 Nov 2009 02:48:57 +0000]
add as_psgi_app and make run_if_script return it for plackup
Arthur Axel 'fREW' Schmidt [Thu, 26 Nov 2009 17:46:18 +0000]
fix some really basic doc
Arthur Axel 'fREW' Schmidt [Thu, 26 Nov 2009 16:12:37 +0000]
fix obvious errors in dispatchex
Arthur Axel 'fREW' Schmidt [Thu, 26 Nov 2009 15:44:43 +0000]
synopsis
Matt S Trout [Tue, 24 Nov 2009 22:08:29 +0000]
dist files
Matt S Trout [Tue, 24 Nov 2009 22:08:15 +0000]
nuke rogue Data::Dumper::Concise invocation
Matt S Trout [Tue, 24 Nov 2009 22:07:39 +0000]
POD cleanup, extended warning and changes section
Matt S Trout [Tue, 24 Nov 2009 21:36:07 +0000]
amend post.t to work with new body parsing rules
Matt S Trout [Tue, 24 Nov 2009 21:28:56 +0000]
implement ?:foo syntax and make ?foo positional
Matt S Trout [Mon, 23 Nov 2009 22:34:58 +0000]
switch dispatch [] to dispatch {}
Matt S Trout [Mon, 23 Nov 2009 21:51:31 +0000]
first cut at body matching
Matt S Trout [Mon, 23 Nov 2009 21:45:45 +0000]
change filter_response to response_filter in the places I got it wrong
Matt S Trout [Mon, 23 Nov 2009 19:13:57 +0000]
working query parameter handling
Matt S Trout [Sun, 22 Nov 2009 17:30:11 +0000]
first cut of query/body parsing, no body support, no tests
Matt S Trout [Sun, 22 Nov 2009 15:04:40 +0000]
simple param parser
Matt S Trout [Sun, 22 Nov 2009 08:30:51 +0000]
explain dispatch subroutine more
Matt S Trout [Sun, 22 Nov 2009 08:07:00 +0000]
subdispatch
Matt S Trout [Sun, 22 Nov 2009 04:27:02 +0000]
/foo/*/... syntax
Matt S Trout [Sun, 22 Nov 2009 04:02:05 +0000]
document new dispatcher features
Matt S Trout [Sun, 22 Nov 2009 04:01:28 +0000]
implement !
Matt S Trout [Sun, 22 Nov 2009 03:53:03 +0000]
nesting error message
Matt S Trout [Sun, 22 Nov 2009 03:43:41 +0000]
implement ()
Matt S Trout [Sun, 22 Nov 2009 03:27:13 +0000]
test three combination |
Matt S Trout [Sun, 22 Nov 2009 03:26:17 +0000]
implement | dispatch combinator
Matt S Trout [Sat, 21 Nov 2009 23:42:21 +0000]
more renaming and cleanup
Matt S Trout [Sat, 21 Nov 2009 22:15:12 +0000]
add return so code doesn't explode after use
Matt S Trout [Sat, 21 Nov 2009 21:56:00 +0000]
add %INC entry setting to Web::Simple import() method
Matt S Trout [Thu, 12 Nov 2009 20:41:46 +0000]
more dispatch strategy documentation
Matt S Trout [Wed, 11 Nov 2009 22:35:31 +0000]
start of dispatch strategy docs
Matt S Trout [Wed, 11 Nov 2009 20:52:34 +0000]
switched to Web::Simple::Dispatcher
Matt S Trout [Wed, 4 Nov 2009 18:27:00 +0000]
first chunk o' docs
Matt S Trout [Wed, 4 Nov 2009 18:23:18 +0000]
default default_config method
Matt S Trout [Wed, 4 Nov 2009 18:20:05 +0000]
add ** to capture unlimited path parts
Matt S Trout [Wed, 28 Oct 2009 18:31:04 +0000]
perl bloggery.cgi / runs get request
Matt S Trout [Wed, 28 Oct 2009 18:30:41 +0000]
I R RETARD. fix 500 errors
Matt S Trout [Fri, 23 Oct 2009 13:40:31 +0000]
add presentation files from ipw 2009
Matt S Trout [Thu, 22 Oct 2009 20:04:45 +0000]
path tweaks and shebang line
Matt S Trout [Thu, 22 Oct 2009 20:02:00 +0000]
redispatch_to
Matt S Trout [Thu, 22 Oct 2009 19:09:33 +0000]
fix nascent bug in bloggery.cgi
Matt S Trout [Thu, 22 Oct 2009 18:40:30 +0000]
switch to map as a collection method - thanks to jnthn (and good luck with rakudo vistar, mate ...)
Matt S Trout [Thu, 22 Oct 2009 18:26:20 +0000]
use overload::constant to escape attributes within <foo ...>
Matt S Trout [Thu, 22 Oct 2009 17:48:31 +0000]
sketch test showing output
Matt S Trout [Thu, 22 Oct 2009 16:57:12 +0000]
first cut of Web-Simple
Matt S Trout [Thu, 22 Oct 2009 15:42:05 +0000]
switch to + separated for sections
Matt S Trout [Thu, 22 Oct 2009 15:01:25 +0000]
dispatch parser
Matt S Trout [Thu, 22 Oct 2009 14:46:42 +0000]
rename sanitize to to_xml_string, add to_html_string
Matt S Trout [Thu, 22 Oct 2009 10:11:56 +0000]
add test files
Matt S Trout [Thu, 22 Oct 2009 10:11:44 +0000]
comment this up the arseholes
Matt S Trout [Thu, 22 Oct 2009 10:09:44 +0000]
cleanup to _set_glob function
Matt S Trout [Thu, 22 Oct 2009 10:08:14 +0000]
cleanup glob override
Matt S Trout [Wed, 21 Oct 2009 18:06:09 +0000]
add sanitize sub
Matt S Trout [Wed, 21 Oct 2009 18:01:21 +0000]
make XML::Tags return scalarrefs
Matt S Trout [Wed, 21 Oct 2009 16:34:43 +0000]
basic HTML tags
Matt S Trout [Wed, 21 Oct 2009 16:14:29 +0000]
first cut of XML::Tags