Skip to content
Permalink
Browse files
[server] Clearer log message when parsing non-XML POST data
  • Loading branch information
elpaso committed May 16, 2017
1 parent cbef51c commit 45166aaf710693dff036e6db37e03c4b2c17d25c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsrequesthandler.cpp
@@ -224,7 +224,7 @@ void QgsRequestHandler::parseInput()
if ( !doc.setContent( inputString, true, &errorMsg, &line, &column ) )
{
// XXX Output error but continue processing request ?
QgsMessageLog::logMessage( QStringLiteral( "Error parsing post data: at line %1, column %2: %3." )
QgsMessageLog::logMessage( QStringLiteral( "Warning: error parsing post data as XML: at line %1, column %2: %3. Assuming urlencoded query string sent in the post body." )
.arg( line ).arg( column ).arg( errorMsg ) );

// Process input string as a simple query text

0 comments on commit 45166aa

Please sign in to comment.