Skip to content

URI::InvalidURIError: bad URI(is not URI?): select * from #1

Description

@pthor

The find method should be parsed_url = URI.parse( url )
currently it tries to URI.parse(sql), not the url

def find(sql)
      url = "http://query.yahooapis.com/v1/public/yql?q=#{escape(sql)}"
      parsed_url = URI.parse( sql )'''

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions