locked
Plus sign in url RRS feed

  • Question

  • User-590375999 posted

    Hi,

    the pdf file name contains plus + sign, when i try to access it from iframe, i am getting file not found 404.11

    Monday, February 18, 2019 8:07 AM

All replies

  • User475983607 posted

    Hi,

    the pdf file name contains plus + sign, when i try to access it from iframe, i am getting file not found 404.11

    And the expected results as the + is a special charter in a URL.  Replace the "+" with %2B.

    Monday, February 18, 2019 12:17 PM
  • User1520731567 posted

    Hi sivapooja,

    the pdf file name contains plus + sign, when i try to access it from iframe, i am getting file not found 404.11

    It is not uncommon to have filenames that contain spaces or special characters.

    The specification for URLs poses a problem, in that it limits the use of allowed characters in URLs to only a limited subset of the US-ASCII character set.

    For example;

    If you upload a file named "image 1.jpg" and attempt to link to it using the following URL:

    http://cacheflyusername.cachefly.net/image 1.jpg .

    You will receive a 404 response as this is an invalid URL. 

    A correct URL for this example will look like:

    http://cacheflyusername.cachefly.net/image%201.jpg

    In this example, the correct URL encoding escape character for a space is %20

    More details about a reference for URL encoded special characters,you could refer to this article:

    https://cachefly.zendesk.com/hc/en-us/articles/215068626-How-to-format-URLs-that-have-special-characters-in-the-filename-

    Best Regards.

    Yuki Tao

    Tuesday, February 19, 2019 8:21 AM