Skip to content
Permalink
Browse files

Server standalone: strip initial blank in header values

  • Loading branch information
elpaso committed Mar 5, 2020
1 parent 3246a92 commit b559a153d027201778e428d0236b5a2ff00ac494
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgis_mapserver.cpp
@@ -353,7 +353,7 @@ int main( int argc, char *argv[] )
const int headerColonPos { headerLine.indexOf( ':' ) };
if ( headerColonPos > 0 )
{
headers.insert( headerLine.left( headerColonPos ), headerLine.mid( headerColonPos + 1 ) );
headers.insert( headerLine.left( headerColonPos ), headerLine.mid( headerColonPos + 2 ) );
}
}

0 comments on commit b559a15

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