Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-09-27 22:39:23 +0000
committerrelves2006-09-27 22:39:23 +0000
commitdcf06adff0cd01542a4f655c720bba1619e8ba17 (patch)
tree102e5ddc66173b05b83e8630a8df99a826ad57b3 /org.eclipse.mylyn.bugzilla.core
parentfb6352ca171ee36c188acf7b05f49064fcad70be (diff)
downloadorg.eclipse.mylyn.tasks-dcf06adff0cd01542a4f655c720bba1619e8ba17.tar.gz
org.eclipse.mylyn.tasks-dcf06adff0cd01542a4f655c720bba1619e8ba17.tar.xz
org.eclipse.mylyn.tasks-dcf06adff0cd01542a4f655c720bba1619e8ba17.zip
Progress on: 154729: Bugzilla pane is empty when retrieving a task from Bugzilla using SSH/Tunneling
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154729
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaServerFacade.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaServerFacade.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaServerFacade.java
index c0d072329..8336bdbb9 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaServerFacade.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaServerFacade.java
@@ -184,7 +184,7 @@ public class BugzillaServerFacade {
&& ((HtmlTag) token.getValue()).getTagType() == HtmlTag.Type.TITLE
&& ((HtmlTag) token.getValue()).isEndTag()) {
- if (title.indexOf("login") != -1
+ if (title.indexOf("login") != -1 || title.indexOf("log in") != -1
|| (title.indexOf("invalid") != -1 && title.indexOf("password") != -1)
|| title.indexOf("check e-mail") != -1) {
throw new LoginException(IBugzillaConstants.ERROR_INVALID_USERNAME_OR_PASSWORD);
@@ -470,16 +470,16 @@ public class BugzillaServerFacade {
}
}
- public static String getBugUrl(String repositoryUrl, int id, String userName, String password) {
-
- String url = repositoryUrl + IBugzillaConstants.POST_ARGS_SHOW_BUG + id;
- try {
- url = addCredentials(url, userName, password);
- } catch (UnsupportedEncodingException e) {
- return "";
- }
- return url;
- }
+// public static String getBugUrl(String repositoryUrl, int id, String userName, String password) {
+//
+// String url = repositoryUrl + IBugzillaConstants.POST_ARGS_SHOW_BUG + id;
+// try {
+// url = addCredentials(url, userName, password);
+// } catch (UnsupportedEncodingException e) {
+// return "";
+// }
+// return url;
+// }
public static String getBugUrlWithoutLogin(String repositoryUrl, int id) {
String url = repositoryUrl + IBugzillaConstants.POST_ARGS_SHOW_BUG + id;

Back to the top