diff options
3 files changed, 7 insertions, 7 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java index 6b4044f505ae..66d2aa263d8c 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java +++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java @@ -787,7 +787,7 @@ public class Helper { HostConfiguration aNewHostConfig = new HostConfiguration(); - URI aURI = new URI( aMainURL.toString() + "index.php?title=Special:Userlogin" ); + URI aURI = new URI( aMainURL.toString() + "index.php?title=Special:Userlogin", false ); GetMethod aGetCookie = new GetMethod( aURI.getEscapedPathQuery() ); ExecuteMethod( aGetCookie, aNewHostConfig, aURI, xContext, true ); @@ -804,7 +804,7 @@ public class Helper String sLoginToken = GetLoginToken( sLoginPage ); PostMethod aPost = new PostMethod(); - URI aPostURI = new URI( aMainURL.getPath() + "index.php?title=Special:Userlogin&action=submitlogin" ); + URI aPostURI = new URI( aMainURL.getPath() + "index.php?title=Special:Userlogin&action=submitlogin", false ); aPost.setPath( aPostURI.getEscapedPathQuery() ); aPost.addParameter( "wpName", sWikiUser ); diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java index e7ca9a8061a1..4b92ff6e2991 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java @@ -61,7 +61,7 @@ public class WikiArticle m_sWikiPass = wikiSettings.get("Password"); m_sTitle = sTitle; - m_aMainURI = new URI( sMainUrl ); + m_aMainURI = new URI( sMainUrl, false ); if ( bLogin ) { @@ -123,7 +123,7 @@ public class WikiArticle if ( m_aHostConfig != null ) { - URI aURI = new URI( m_aMainURI.toString() + "index.php?title=" + m_sTitle + "&action=edit" ); + URI aURI = new URI( m_aMainURI.toString() + "index.php?title=" + m_sTitle + "&action=edit", false ); GetMethod aRequest = new GetMethod( aURI.getEscapedPathQuery() ); Helper.ExecuteMethod( aRequest, m_aHostConfig, aURI, m_xContext, false ); @@ -165,7 +165,7 @@ public class WikiArticle { if ( m_aHostConfig != null ) { - URI aURI = new URI( m_aMainURI.toString() + "index.php?title=" + m_sTitle ); + URI aURI = new URI( m_aMainURI.toString() + "index.php?title=" + m_sTitle, false ); GetMethod aRequest = new GetMethod( aURI.getEscapedPathQuery() ); Helper.ExecuteMethod( aRequest, m_aHostConfig, aURI, m_xContext, false ); @@ -206,7 +206,7 @@ public class WikiArticle // get the edit time and token getArticleWiki(); - URI aURI = new URI( m_aMainURI.getPath() + "index.php?title=" + m_sTitle + "&action=submit" ); + URI aURI = new URI( m_aMainURI.getPath() + "index.php?title=" + m_sTitle + "&action=submit", false ); PostMethod aPost = new PostMethod(); aPost.setPath( aURI.getEscapedPathQuery() ); diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java index 6c884520563d..c2af4e95204f 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java @@ -212,7 +212,7 @@ public class WikiEditSettingDialog extends WikiDialog if ( sURL.length() > 0 ) { - URI aURI = new URI( sURL ); + URI aURI = new URI( sURL, false ); GetMethod aRequest = new GetMethod( aURI.getEscapedPathQuery() ); aRequest.setFollowRedirects( false ); Helper.ExecuteMethod( aRequest, aHostConfig, aURI, m_xContext, bInitHost ); |