Skip to content

Commit

Permalink
Merge pull request #33926 from elpaso/bugfix-unreported-wfs3-double-s…
Browse files Browse the repository at this point in the history
…lashes

Fix unreported server WFS3 issue with double slashes
  • Loading branch information
elpaso committed Jan 21, 2020
2 parents acd4584 + 93b2753 commit ccc7ad5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/qgsserverogcapihandler.cpp
Expand Up @@ -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() )
{
Expand Down

0 comments on commit ccc7ad5

Please sign in to comment.