[fixed] 1.10 Beta3: doc/.htaccess allows /.../ .pdf files

The members of the Dev team will place issues here that they consider to be solved.
Post Reply
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am
Location: USA

[fixed] 1.10 Beta3: doc/.htaccess allows /.../ .pdf files

Post by fredp »

Hi,

The 1.10-beta3 doc/.htaccess file allows access to the new file doc/CMSMS_config_reference.pdf by default. If this isn't by design, then maybe the .pdf file extension should be added to the list of those file types that are denied by default. I propose changing...
<Files ~ "\.(php|php3|php4|php5|phtml|pl|cgi|txt)$">
order deny,allow
deny from all
</Files>
to
<Files ~ "\.(php|php3|php4|php5|phtml|pl|cgi|txt|pdf)$">
order deny,allow
deny from all
</Files>
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: CMSMS 1.10 Beta3: doc/.htaccess allows access to .pdf fi

Post by Rolf »

Hi Fredp

I noticed this yesterday too, so already fixed in SVN ;)

Keep on testing!!

:) Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Closed Issues”