Skip to content

Table names with embedded space characters are incorrectly escaped. #23

Description

@jostockley

In the protected method, worksheet_url in table.rb the CGI.escape method is called to escape special characters in the url. The problem is that this method replaces space characters with a '+' rather than %20. The '+' would be correct for url parameters but is not correct for spaces in the url path.

Possible fixes:

  1. Change to CGI.escape(s).gsub('+','%20')
  2. Remove it altogether and leave it up to the user to make sure spaces are escaped correctly.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions