diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-02 12:59:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-02 12:59:27 +0000 |
commit | 94db7c0029ac0d44a4f4180cc5a5712cb6aa073f (patch) | |
tree | 5f1b1561ad15801d546cf03e74854a5269a2618c /extra | |
parent | e1492f771c17480082d8e57125d4dca2a1a8e5f1 (diff) | |
download | redmine-94db7c0029ac0d44a4f4180cc5a5712cb6aa073f.tar.gz redmine-94db7c0029ac0d44a4f4180cc5a5712cb6aa073f.zip |
Redmine.pm: HEAD is not considered as a read-only method (#11749).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10279 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r-- | extra/svn/Redmine.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm index 2aeb352d4..7a10583db 100644 --- a/extra/svn/Redmine.pm +++ b/extra/svn/Redmine.pm @@ -295,7 +295,7 @@ sub set_val { Apache2::Module::add(__PACKAGE__, \@directives); -my %read_only_methods = map { $_ => 1 } qw/GET PROPFIND REPORT OPTIONS/; +my %read_only_methods = map { $_ => 1 } qw/GET HEAD PROPFIND REPORT OPTIONS/; sub request_is_read_only { my ($r) = @_; |