Skip to content

Commit

Permalink
update MS_MAP_PATTERN required note (#6598)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Aug 16, 2022
1 parent 35a52a4 commit 9209de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/mapserver-sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CONFIG
# Limit Mapfile Access
#
# MS_MAP_NO_PATH "1"
MS_MAP_PATTERN "^/opt/mapserver" ## required
MS_MAP_PATTERN "^/opt/mapserver" ## required when referencing mapfiles by path
# MS_MAP_BAD_PATTERN "[/\\]{2}|[/\\]?\\.+[/\\]|,"

#
Expand Down
2 changes: 1 addition & 1 deletion tests/mapserver-sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CONFIG
# Limit Mapfile Access
#
# MS_MAP_NO_PATH "1"
MS_MAP_PATTERN "^/opt/mapserver" ## required
MS_MAP_PATTERN "^/opt/mapserver" ## required when referencing mapfiles by path

#
# Global Log/Debug Setup
Expand Down

0 comments on commit 9209de5

Please sign in to comment.