Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Bug: Buildmaster 6.2.14 (Build 17) Configuration Template Values containing equals character

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 7 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      antony.booth_1029
      last edited by antony.booth_1029

      Entering a value containing an equals sign '=' will trim all remaining characters, including the equals character.

      So: -

      abcdefghijklmnopqrstuvwxyz1234567890=== becomes abcdefghijklmnopqrstuvwxyz1234567890 (All the equals trimmed)
      abcdefghijklmnopqrstuvwxyz=1234567890 becomes abcdefghijklmnopqrstuvwxyz (all the numbers and equals trimmed)

      This is problematic if you want to store something like a base64 encoded string that terminates with 2 equals. E.g: -

      abcdefghijklmnopqrstuvwxyz1234567890== becomes abcdefghijklmnopqrstuvwxyz1234567890

      The workaround for base 64 is to omit the '==' and keep it in the template. I.E: -

      <something key="MyKey" value="${variable}==" />
      

      However, this wouldn't work for something ,like a connection string: -

      <connection name="theServer" connectionString="ServerName=${server}; user=${username}; password=${somePasswordThatMightHaveAnEqualsInIt};" />
      
      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        Hi @antony-booth_1029 ,

        It looks like this is just an issue with the editor. If you set the value to include the = sign and save it. When you run everything is fine and the value includes the = sign. When you open to edit it though, the = is stripped off, and then when you save it, it removes = from the config file. I am currently working to correct the issue.

        Thanks,
        Rich

        Products Engineer, Inedo

        1 Reply Last reply Reply Quote 0
        • rhessingerR Offline
          rhessinger inedo-engineer
          last edited by

          Hi @antony-booth_1029 ,

          I have fixed this issue and it will be released in BuildMaster 6.2.15 which is due out on July 17. I'll post back here if anything changes.

          Thanks,
          Rich

          Products Engineer, Inedo

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation