mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 14:16:46 +02:00
Removing Parsedown parser
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
RewriteBase /flextype/
|
||||
RewriteBase /
|
||||
|
||||
## Begin - Exploits
|
||||
# If you experience problems on your site block out the operations listed below
|
||||
@@ -49,9 +49,9 @@ RewriteRule ^(\.git|flextype)/(.*) error [F]
|
||||
# Block access to specific file types for these system folders
|
||||
RewriteRule ^(flextype|vendor)/(.*)\.(txt|xml|md|html|yaml|yml|php|pl|py|cgi|sh|bat)$ error [F]
|
||||
# Block access to specific file types for these user folders
|
||||
RewriteRule ^(site)/(.*)\.(txt|md|yaml|yml|php|pl|py|cgi|sh|bat)$ error [F]
|
||||
# Block all direct access to .md files:
|
||||
RewriteRule \.md$ error [F]
|
||||
RewriteRule ^(site)/(.*)\.(txt|md|html|yaml|yml|php|pl|py|cgi|sh|bat)$ error [F]
|
||||
# Block all direct access to .html files:
|
||||
RewriteRule \.html$ error [F]
|
||||
# Block all direct access to files and folders beginning with a dot
|
||||
RewriteRule (^|/)\.(?!well-known) - [F]
|
||||
# Block access to specific files in the root folder
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"name": "flextype/flextype",
|
||||
"type": "project",
|
||||
"description": "Flextype is The Best Open Source Flat-File Content Management System",
|
||||
"keywords": ["flextype", "php", "cms", "flat-file cms", "flat cms", "flatfile cms", "markdown"],
|
||||
"keywords": ["flextype", "php", "cms", "flat-file cms", "flat cms", "flatfile cms", "html"],
|
||||
"homepage": "http://flextype.org",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
@@ -17,8 +17,6 @@
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1.3",
|
||||
"erusev/parsedown": "1.7.0",
|
||||
"erusev/parsedown-extra": "0.7.1",
|
||||
"doctrine/cache": "1.*",
|
||||
"symfony/yaml": "4.*",
|
||||
"thunderer/shortcode": "0.*",
|
||||
|
Reference in New Issue
Block a user