Skip to content

Errors when 'Allow Hyphens in Short URLs' is disabled #2280

@atdr

Description

@atdr

Reproducible bug summary

  1. enable Allow Hyphens in Short URLs plugin
  2. create short URL containing hyphen(s)
    e.g. sho.rt/a-b
  3. deactivate plugin;
    • hyphens not shown in Short URL column in admin/index.php
      i.e. sho.rt/ab shown where sho.rt/a-b used to be
    • neither sho.rt/a-b nor sho.rt/ab successfully redirect to target
    • trying to delete the link results in the error
      something wrong happened while deleting :/

Technical details

  • YOURLS version: 1.7.2
  • PHP version: 7.1.8
  • Ubuntu 16.04.3 LTS w/ Apache 2.4.27

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