Skip to content

Commit 8f4ac33

Browse files
author
gsherman
committed
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
1 parent f74b6b0 commit 8f4ac33

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/core/qgshttptransaction.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,11 @@ bool QgsHttpTransaction::getSynchronously( QByteArray &respondedContent, int red
113113
// includes the scheme, host and port (the
114114
// http://www.address.bit:80), so remove that from the url before
115115
// executing an http GET.
116-
QString pathAndQuery = httpurl.remove( 0,
117-
httpurl.indexOf( qurl.path() ) );
116+
//
117+
// gsherman 2008-10-24 - Not sure if the above still holds true. Commenting
118+
// out the removal for testing purposes
119+
QString pathAndQuery = httpurl;//.remove( 0,
120+
// httpurl.indexOf( qurl.path() ) );
118121

119122

120123
if ( !postData ) //do request with HTTP GET

src/plugins/grass/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ TARGET_LINK_LIBRARIES(grassplugin
114114
qgis_core
115115
qgis_gui
116116
qgisgrass
117+
${QT_QTSQL_LIBRARY}
117118
${QT_QT3SUPPORT_LIBRARY}
118119
${GRASS_LIBRARIES}
119120
)

0 commit comments

Comments
 (0)