Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362769 - [github] import error when using special characters in repo search
Summary: [github] import error when using special characters in repo search
Status: CLOSED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 04:53 EDT by Michael Keppler CLA
Modified: 2011-11-04 09:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.