Skip to content
Permalink
Browse files
Fix for WMS servers running on other than port 80 (needs testing with…
… more servers).

Fix for build error in grass plugin.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9537 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Oct 24, 2008
1 parent f74b6b0 commit 8f4ac3393bf0a893c59e4142220c305484ae8981
Showing with 6 additions and 2 deletions.
  1. +5 −2 src/core/qgshttptransaction.cpp
  2. +1 −0 src/plugins/grass/CMakeLists.txt
@@ -113,8 +113,11 @@ bool QgsHttpTransaction::getSynchronously( QByteArray &respondedContent, int red
// includes the scheme, host and port (the
// http://www.address.bit:80), so remove that from the url before
// executing an http GET.
QString pathAndQuery = httpurl.remove( 0,
httpurl.indexOf( qurl.path() ) );
//
// gsherman 2008-10-24 - Not sure if the above still holds true. Commenting
// out the removal for testing purposes
QString pathAndQuery = httpurl;//.remove( 0,
// httpurl.indexOf( qurl.path() ) );


if ( !postData ) //do request with HTTP GET
@@ -114,6 +114,7 @@ TARGET_LINK_LIBRARIES(grassplugin
qgis_core
qgis_gui
qgisgrass
${QT_QTSQL_LIBRARY}
${QT_QT3SUPPORT_LIBRARY}
${GRASS_LIBRARIES}
)

0 comments on commit 8f4ac33

Please sign in to comment.