Skip to content
Permalink
Browse files

Merge pull request #33926 from elpaso/bugfix-unreported-wfs3-double-s…

…lashes

Fix unreported server WFS3 issue with double slashes
  • Loading branch information
elpaso committed Jan 21, 2020
2 parents acd4584 + 93b2753 commit ccc7ad55485cb5cb3ff2d12c63ab8c0a6f3ed9b6
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/server/qgsserverogcapihandler.cpp
@@ -306,6 +306,11 @@ void QgsServerOgcApiHandler::htmlDump( const json &data, const QgsServerApiConte
{
fName.chop( suffix.length() + 1 );
}
// Chop any ending slashes
while ( fName.endsWith( '/' ) )
{
fName.chop( 1 );
}
fName += '/' + QString::number( args.at( 0 )->get<QgsFeatureId>( ) );
if ( !suffix.isEmpty() )
{

0 comments on commit ccc7ad5

Please sign in to comment.
You can’t perform that action at this time.