• [6.9.2] docker variable value forgotten when it contain pipe symbol


    Barry Staes
    • Minor

    Reproduce:
    Have a docker, with a variable, its a text that includes some pipe symbols and it should be passed 1-on-1 to the docker, e.g.

     

    username|password|/home/username

     

    The docker i was trying to use and requires this syntax is https://hub.docker.com/r/delfer/alpine-ftp-server

     

     

    Problems/bugs seen:

    1. The UI made the default value into a dropdown with 3 options. This was not desired.
    2. The UI forgot the value because it included the pipe symbol as well.

     

     

    Things i tried:

    So i went looking for how to escape this pipe symbol, tried these but it didnt work:

     

    username||password||/home/username
    username\|password\|/home/username
    "username|password|/home/username"
    'username|password|/home/username'

     

    And went into the documentation starting with the link on the Docker Edit page. 

    All i found was this "TBD" section comment on environment variables, but no explanation on regular variables.
    https://wiki.unraid.net/Manual/Docker_Management#Environment_Variables

     

     

    Seems like a bug.

    Or did i miss something?

    Either there already is a way to escape or encode this symbol in a string value, then please update documentation. Regardless in the docker edit page (UI dropdown feature) there is some flaw in processing this, because it forgets my value if it contains a | symbol.

    diagnostics-20220124-2242.zip




    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.