1
0
Files
w3c-markup-validator/validator-httpd.patch
Petr Gajdos 872fac468f - updated to version 1.3:
* Enhancement: several updates to validator's internal DTD library 
    and catalog, including SVG 1.1 second edition, WAI-ARIA 
    1.0 20110118 candidate recommendation, HTML+RDFa 1.1 20110525 
    working draft, XHTML+RDFa 1.1 20120131 working draft, 
    and VoiceXML 2.0 and 2.1.
  * Enhancement: update EARL/RDF output to 1.0 20110510 working draft.
  * Enhancement: removed internal support for the deprecated 
    /check/referer path, implement it and some uri=referer cases in 
    httpd.conf instead for better efficiency.
  * Enhancement: work around HTML::Template 2.10 versioning issue.
  * Enhancement: documentation improvements, code and server error 
    log warning cleanups.
  * Enhancement: the sample "badge" code for applicable document 
    types now includes a JavaScript onclick handler that avoids 
    the need for uri=referer redirects in many usual scenarios.
  * Enhancement: make XML-LibXML XML catalog setup work with mod_perl.
  * Bug fix: fix transcode error parsing for single-line documents.
  * Bug fix: better treatment of HTML5 documents that contain xmlns.
  * Bug fix: better treatment of direct input HTML5 documents that 
    contain a non-UTF-8 charset indication.
  * Dependency changes: new minimum required versions: XML-LibXML 1.73.

OBS-URL: https://build.opensuse.org/package/show/Publishing/w3c-markup-validator?expand=0&rev=3
2012-08-07 14:05:59 +00:00

23 lines
848 B
Diff

Index: validator-1.3/httpd/conf/httpd.conf
===================================================================
--- validator-1.3.orig/httpd/conf/httpd.conf
+++ validator-1.3/httpd/conf/httpd.conf
@@ -43,6 +43,8 @@ PerlPostConfigRequire /usr/local/validat
<LocationMatch "^/+w3c-validator/+(check|feedback(\.html)?)$">
Options +ExecCGI
+ Order Deny,Allow
+ Allow from all
SetHandler cgi-script
<IfDefine MODPERL2>
SetHandler perl-script
@@ -64,6 +66,8 @@ Alias /w3c-validator/ /usr/local/valid
<Directory /usr/local/validator/htdocs/>
Options IncludesNOEXEC Indexes MultiViews
AllowOverride None
+ Order Deny,Allow
+ Allow from all
AddHandler server-parsed .html
AddCharset utf-8 .html
AddEncoding x-gzip .gz