Skip to content

Commit

Permalink
Fix for WMS servers running on other than port 80 (needs testing with…
Browse files Browse the repository at this point in the history
… more servers).

Fix for build error in grass plugin.


git-svn-id: http://svn.osgeo.org/qgis/trunk@9537 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Oct 24, 2008
1 parent e1b3c93 commit eca978f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/core/qgshttptransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/plugins/grass/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ TARGET_LINK_LIBRARIES(grassplugin
qgis_core
qgis_gui
qgisgrass
${QT_QTSQL_LIBRARY}
${QT_QT3SUPPORT_LIBRARY}
${GRASS_LIBRARIES}
)
Expand Down

0 comments on commit eca978f

Please sign in to comment.