HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Getting "Whoops! Invalid URL"

snootysnooty Florida
edited April 2020 in Vanilla 3.x Help

When trying to put a link in a pinned message notice, I get (see attached image below)

Tried even copying the HTML from the forum here, still get the same thing. I'm using the Keystone theme BTW


.

Comments

  • R_JR_J Ex-Fanboy Munich Admin

    What do you mean by a pinned message notice?

  • snootysnooty Florida
    edited April 2020

    Hi RJ...

    The "Messages" that you access from the "Moderation" page that stay pinned to the pages.

    You can see the one I'm using on the right lower sidebar, ( coronavirustalk .xyz) but I wanted to put a message on top with a .gov website link and I get the error. I'm thinking it may be a bug in the Keystone theme maybe? I haven't tried switching back to the default theme yet and try it.

  • R_JR_J Ex-Fanboy Munich Admin

    Works for me:


    That's the result of a message with this text: See this link! https://open.vanillaforums.com/discussion/38080/getting-whoops-invalid-url#latest

  • R_JR_J Ex-Fanboy Munich Admin

    And this works, too  See <a href="https://open.vanillaforums.com/discussion/38080/getting-whoops-invalid-url#latest">this link!</a> 

  • R_JR_J Ex-Fanboy Munich Admin

    I see! What's not working is when you omit the protocoll "https://"!

  • snootysnooty Florida
    edited April 2020

    That's strange, I just cant get it to work. I even copied your exact example code at me site:

    See <a href="https://open.vanillaforums.com/discussion/38080/getting-whoops-invalid-url#latest">this link!</a> 

    See below what I get:


    Am I only allowed to use INTERNAL links in the messages box? I'm trying to use a EXTERNAL link and its not working.

    I tried linking to a post inside my forum and it worked, but that's of course an INTERNAL link.

  • snootysnooty Florida


  • R_JR_J Ex-Fanboy Munich Admin

    If the protocol isn't specified, Vanilla tries to prefix your own domain so that it is treated like an internal link. I have pasted the code above in my test forum, so it was an external link.

    What link do you want to insert?

  • snootysnooty Florida

    I wanted to put this wording and URL in a message box:

    For news and official information visit: https://www.coronavirus.gov/

  • R_JR_J Ex-Fanboy Munich Admin

    I could insert that with no problems at all... :-/

Sign In or Register to comment.