mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Merge pull request #32656 from elpaso/bugfix-gh32641-server-oapif-items-link-issue
Server OAPIF fix items link in html
This commit is contained in:
commit
038a85192e
@ -300,7 +300,10 @@ void QgsServerOgcApiHandler::htmlDump( const json &data, const QgsServerApiConte
|
||||
QFileInfo fi{ url.path() };
|
||||
auto suffix { fi.suffix() };
|
||||
auto fName { fi.filePath()};
|
||||
fName.chop( suffix.length() + 1 );
|
||||
if ( suffix.length() != 0 )
|
||||
{
|
||||
fName.chop( suffix.length() + 1 );
|
||||
}
|
||||
fName += '/' + QString::number( args.at( 0 )->get<QgsFeatureId>( ) );
|
||||
if ( !suffix.isEmpty() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user