1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Plus stripped from link text of autoconverted URL

Discussion in 'Resolved Bug Reports' started by lazy llama, Feb 5, 2014.

  1. lazy llama

    lazy llama Well-Known Member

    Very minor but I don't think it's done deliberately.

    If I enter https://www.google.co.uk/search?q=fish+grimsby or similar URL with a '+' in the query string of the URL into a post, the autoconversion seems to replace the '+' in the link text with a space.

    https://www.google.co.uk/search?q=fish grimsby

    Same on 1.2.x and 1.3
  2. Mike

    Mike XenForo Developer Staff Member

    This is actually intentional. It's mostly because URLs often aren't human readable (particularly with accented characters) so we urldecode() them before displaying. The + does get converted in this, though I think that's acceptable -- the plus does represent a space.

    It's the difference between:
    lazy llama and Jay like this.
  3. lazy llama

    lazy llama Well-Known Member

    Fair enough :)

Share This Page