[Qgis-developer] debug qgis mapserver with QtCreator?

G. Allegri giohappy at gmail.com
Mon Apr 8 08:34:43 PDT 2013


Hi Marco,
thanks for the tip. That's a starting point, but what about POST data?
How do you debug it?

Yes, I'm aware of the risk for sql-injections ;)

giovanni

2013/4/8 Marco Hugentobler <marco.hugentobler at sourcepole.ch>:
> Hi Giovanni
>
> Just set the environment variable QUERY_STRING (e.g.
> QUERY_STRING='SERVICE=WMS&REQUEST=GetCapabilities') and start the executable
> with the debugger.
> If you extend the filter possibilities, make sure not to open possibilities
> for sql-injections.
>
> Regards,
> Marco
>
>
> On 08.04.2013 16:56, G. Allegri wrote:
>>
>> Hi all,
>> I would like to try to extend a bit the filter functionalities in qgis
>> server, but I've never setup e debug environment for a C++ CGI.
>> Can you suggest me a way to do it? I use QtCreator (Linux) for QGis
>> Desktop and I will like to employ iy here too, but I can't figure how
>> to attach it to the CGI executable...
>>
>> thanks,
>> Giovanni
>>
>
>
> --
> Dr. Marco Hugentobler
> Sourcepole -  Linux & Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, Switzerland
> marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus


More information about the Qgis-developer mailing list