Skip to content

URI::REGEXP::PATTERN::IPV6ADDR no longer available in 1.0.1 #131

@jordan-brough

Description

@jordan-brough

The cookiejar gem used URI::REGEXP::PATTERN::IPV6ADDR and URI::REGEXP::PATTERN:: IPV4ADDR from uri versions < 1.0.0.

Now the library raises this exception:

uninitialized constant CookieJar::CookieValidation::PATTERN::IPV4ADDR

Because this code is failing:

  module CookieValidation
    module PATTERN
      include URI::REGEXP::PATTERN
      ...
      IPADDR = "#{IPV4ADDR}|#{IPV6ADDR}".freeze

see here.

Would it be possible to restore and deprecate those constants? The cookiejar project is archived so replacing it will take some work.

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