
interchange-cvs at icdevgroup
Oct 22, 2009, 11:38 AM
Post #1 of 1
(38 views)
Permalink
|
|
[SCM] Interchange branch, master, updated. REL_5_7_2-9-g2f5ddb1
|
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Interchange". The branch, master has been updated via 2f5ddb1382f6082e73a8a23d3d35a957e0d688a2 (commit) from 4e1e312eefe36a129d974791647a30ecbe13d9a9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2f5ddb1382f6082e73a8a23d3d35a957e0d688a2 Author: Jon Jensen <jon[at]endpoint.com> Date: Thu Oct 22 12:37:28 2009 -0600 Allow POST with Content-type of application/json Thanks to Mathew Jones for the suggestion. ----------------------------------------------------------------------- Summary of changes and diff: lib/Vend/Server.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Vend/Server.pm b/lib/Vend/Server.pm index ebbb7f3..c4f95b1 100644 --- a/lib/Vend/Server.pm +++ b/lib/Vend/Server.pm @@ -24,7 +24,7 @@ package Vend::Server; use vars qw($VERSION); -$VERSION = '2.105'; +$VERSION = '2.106'; use Cwd; use POSIX qw(setsid strftime); @@ -251,7 +251,7 @@ EOF if ($request_method eq 'POST') { #::logDebug("content type header: " . $CGI::content_type); ## check for valid content type - if ($CGI::content_type =~ m{^(?:multipart/form-data|application/x-www-form-urlencoded|application/xml)\b}i) { + if ($CGI::content_type =~ m{^(?:multipart/form-data|application/x-www-form-urlencoded|application/xml|application/json)\b}i) { parse_post(\$CGI::query_string) if $Global::TolerateGet; parse_post($h->{entity}); hooks/post-receive -- Interchange _______________________________________________ interchange-cvs mailing list interchange-cvs[at]icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-cvs
|