Special characters in the twitter URL

This topic contains 2 replies, has 3 voices, and was last updated by  Kiran 5 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #457067

    Ann
    Full Member
    Post count: 84

    In the field for the twitter url, someone typed “https://twitter.com/Coppermines?ref_src=twsrc^google|twcamp^serp|twgr^author” and this messed up the frontend display. Instead of “Twitter” what showed was “google|twcamp^serp|twgr^author” instead.

    There should be a filter in your code to not allow the URL or at least remove the characters before displaying.

    #457072

    Guust
    Moderator
    Post count: 29970

    I’ll get a developer to have a look at your comments.
    Thanks

    #457167

    Kiran
    Moderator
    Post count: 7069

    Hello Ann,

    In url custom field “|” is used to separate link & link label. For example if you use

    https://www.mysite.com|My Site

    then on frontend it will use “My Site” as a link label.

    If you are using “|” in urls for the purpose other then link label, use “%7C” instead of “|”. Ex:

    https://twitter.com/Coppermines?ref_src=twsrc^google%7Ctwcamp^serp%7Ctwgr^author

    Thanks,
    Kiran

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket