Skip to content

Commit

Permalink
Do not replace plus by space in REQUEST_BODY
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan committed Feb 19, 2020
1 parent 3af491d commit 6de9e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsrequesthandler.cpp
Expand Up @@ -252,7 +252,7 @@ void QgsRequestHandler::parseInput()

mRequest.setParameter( attrName.toUpper(), attr.value() );
}
mRequest.setParameter( QStringLiteral( "REQUEST_BODY" ), inputString );
mRequest.setParameter( QStringLiteral( "REQUEST_BODY" ), inputString.replace( '+', QStringLiteral( "%2B" ) ) );
}
}
}
Expand Down

0 comments on commit 6de9e0f

Please sign in to comment.