[Koha-bugs] [Bug 9812] Several files shouldn't be exposed or browseable through a URL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 13 18:52:05 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9812

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Test plan
=========
- Install Koha from master
- Go there in your browser: 
  http://YOUR_DEV_KOHA_OPAC_FQDN/opac-tmpl/prog/en/
- You should be able to browse every dir in the templates dir
- Apply the patch and reinstall using 
  $ perl Makefile.PL --prev-install-log ~/path/to/koha-install-log
- Retry, you shouldn't be able to browse or access any files in this dirs:
   * modules
   * xslt
   * includes

For your convenience this paths should be valid for testing:
 /opac-tmpl/prog/en/modules/kohaerror.tt
 /opac-tmpl/prog/en/includes/usermenu.inc
 /opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
 /opac-tmpl/ccsr/en/includes/doc-head-close.inc

This should do it for the staff client too, but... its too much work for such a
trivial patch!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list