Skip to content

Commit

Permalink
Item13613: The enabling of validate for rest does not work in Foswiki…
Browse files Browse the repository at this point in the history
… 1.1.9. I have to disable it to maintain compatibility
  • Loading branch information
KennethLavrsen committed Aug 11, 2015
1 parent a153e11 commit 0f29843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/JHotDrawPlugin.pm
Expand Up @@ -40,7 +40,7 @@ sub initPlugin {
'edit',
\&_restEdit,
authenticate => 1, # Set to 0 if handler should be useable by WikiGuest
validate => 1, # Set to 0 to disable StrikeOne CSRF protection
validate => 0, # Set to 0 to disable StrikeOne CSRF protection
http_allow =>
'GET,POST', # Set to 'GET,POST' to allow use HTTP GET and POST
description => 'Edit handler for JHotDrawPlugin'
Expand All @@ -49,7 +49,7 @@ sub initPlugin {
'upload',
\&_restUpload,
authenticate => 1, # Set to 0 if handler should be useable by WikiGuest
validate => 1, # Set to 0 to disable StrikeOne CSRF protection
validate => 0, # Set to 0 to disable StrikeOne CSRF protection
http_allow => 'POST', # Set to 'GET,POST' to allow use HTTP GET and POST
description => 'Upload handler for JHotDrawPlugin'
);
Expand Down

0 comments on commit 0f29843

Please sign in to comment.