Skip to content

URI encoding needed? #63

@jpkole

Description

@jpkole

When attempting to query for PortfolioItems/Aplicación (note o-grave character), return is:
RallyAPI: - rescued exception - bad URI(is not URI?):
https://us1.rallydev.com/slm/webservice/v2.0/PortfolioItem/Aplicación

This seemed to fix it:
$ diff /usr/local/share/ruby/gems/2.0/gems/rally_api-1.2.1/lib/rally_api/rally_json_connection.rb{,.orig}
138,142d137
< eurl = URI.encode(url)
< if url != eurl
< log_info("Using encoded URL: orig=#{url} encode=#{eurl}")
< url = eurl
< end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions