DICE PACKS BUNDLE
  1. #1

    Unable to create a linked URL that includes a special character

    When attempting to create a story link for a URL that includes a special character (in this case an !), the link is created but truncates the URL to just before where the special character is. For example, if I try to create a link for this URL: https://1drv.ms/b/s!Aocvbx1XzPmhifEr0B6QWESg1qdnOg, FGU chat responds with "(LINK)!Aocvbx1XzPmhifEr0B6QWESg1qdnOg". It creates a non-functional link for this portion only "https://1drv.ms/b/s", which doesn't work.

    I have previously used OneDrive links in FGC, and they worked fine.

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,983
    Classic was much more forgiving when it came to file names and xml structure. Unity not so much.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  3. #3
    Ugh. I was hoping there was a better answer. I'm adding my vote to an existing, related idea at https://fgapp.idea.informer.com/.

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,562
    Escape the ! with %21

    https://1drv.ms/b/s%21Aocvbx1XzPmhifEr0B6QWESg1qdnOg

    You don't need to escape everything, just the character/s that FG doesn't recognize/blocks. See the "ASCII Encoding Reference" section here: https://www.w3schools.com/tags/ref_urlencode.ASP Don't use any of the URL encoding functions on there - it does too much. Just use that reference to replace any characters that FG doesn't recognize with the %xx code.
    Last edited by Trenloe; June 25th, 2021 at 19:09.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  5. #5
    Quote Originally Posted by cwsoots View Post
    When attempting to create a story link for a URL that includes a special character (in this case an !), the link is created but truncates the URL to just before where the special character is. For example, if I try to create a link for this URL: https://1drv.ms/b/s!Aocvbx1XzPmhifEr0B6QWESg1qdnOg, FGU chat responds with "(LINK)!Aocvbx1XzPmhifEr0B6QWESg1qdnOg". It creates a non-functional link for this portion only "https://1drv.ms/b/s", which doesn't work.

    I have previously used OneDrive links in FGC, and they worked fine.
    You can try using this extension. Works fine creating the link with it.

    https://www.fantasygrounds.com/forum...174#post506174
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  6. #6
    Brilliant! That worked perfectly. Thanks, Trenloe! This would be a useful addition to the wiki (if it isn't there already).

  7. #7
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,426
    Blog Entries
    9
    Or use something like tinyurl to get a new url for the link.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in