Skip to content

Problems with image names and links to images being escaped differently #399

Description

@davidwhutton

Where there are special characters in image names, these are escaped differently than the links to these images.
There are also differences between Firefox and Chrome, but in both browsers the end result is that all links to these images are broken.

In my case, the original image names contain %20 characters in place of spaces. Here's where things go wrong:

  1. for the images, all % characters in the name are changed to _ (underscore)
  2. for the links to these images, the original link is preserved in Chrome
  3. for the links to these images, the % character is escaped to %25, resulting in %2520 character groups in Firefox

If I could just prevent escaping of the image file names, at least the links would work if using the Chrome browser.
With Firefox, there are two problems, because both the image name and the link are escaped, but in different ways.

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