Skip to content

Support for Ruby 3.0.6, replace URI::escape with CGI:escape  #3

@tiinapennala

Description

@tiinapennala

In view helper URI::escape has been used, which leads to error "undefined method `escape' for URI:Module".

source = URI::escape(source)

This has been removed: ruby/uri@61c6a47
More references also here:
ruby/uri#14

The gem works with monkey patching the:

source = URI::escape(source)

with

source = CGI.escape(source)

Could there be a possibility for a fix?

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