Skip to content
Permalink
Browse files

Fix unreported server WFS3 issue with double slashes

... in items page when accessing from an item link
without suffix.
  • Loading branch information
elpaso committed Jan 20, 2020
1 parent d39b6ac commit 93b27534f9ccbc425534a048c49d67f3ae3d583b
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 93b2753

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