jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Groovy Modules
  • Groovy Modules
  • GMOD-275

Error in base URI

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: HttpBuilder
  • Labels:
    None
  • Number of attachments :
    0

Description

It looks like the last element of the path is being lost if it does not end with a "/".

Using this code, I'm constructing an instance and calling 'listDownloads':
http://bit.ly/HLTqDT

I get this in my log:
15:13:05.561 [INFO] [com.smokejumperit.api.GitHubApi3] RobertFischer/github-api-3 created repository REST path: https://api.github.com/repos/RobertFischer/github-api-3/downloads
15:13:05.941 [DEBUG] [groovyx.net.http.RESTClient] GET https://api.github.com/repos/RobertFischer/github-api-3/

Looks like "downloads" is getting lost of the URL. I suspect it's because it's the last element in the path, since there's no trailing "/".

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Robert Fischer
Vote (0)
Watch (0)

Dates

  • Created:
    15/Apr/12 2:20 PM
    Updated:
    15/Apr/12 2:20 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.