Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362769

Summary: [github] import error when using special characters in repo search
Product: [Technology] EGit Reporter: Michael Keppler <michael.keppler>
Component: MylynAssignee: Project Inbox <egit.mylyn-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Keppler CLA 2011-11-03 04:53:57 EDT
Build Identifier: Egit Mylyn 1.1.0.201109151100-r

When searching for repositories to be imported from github, using a ":" as part of the search term, the import shows an error in the title area of the import wizard:
 Error searching repositories: com.google.gson.stream.MalformedJsonException: invalid number or unquoted string near <!DOCTYPE html>
<html>
  <hea

Probably some normalization or filtering needs to be done on the input provided by the user.

Reproducible: Always

Steps to Reproduce:
1. Open "Repositories from GitHub" import wizard
2. Enter "c:geo" into text field, hit search.
3. Error message in title area of wizard.
Comment 1 Kevin Sawicki CLA 2011-11-03 07:38:22 EDT
I think this may have been fixed by the commit here: http://egit.eclipse.org/w/?p=egit-github.git;a=commit;h=bdddd7d38f2633858e5a0ef5f3c27def0dd54902

Can you try using the 1.2.0 nightly build from: http://download.eclipse.org/egit/github/updates-nightly and see if the issue still occurs?
Comment 2 Michael Keppler CLA 2011-11-04 09:21:58 EDT
Works fine with current nightly. Thanks.