• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Using "Image Path" names with - or . when creating an image?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    4
    800
    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.
    • E
      EspenU
      last edited by

      Server
      • FOG Version: .1.3.3
      • OS: Ubuntu 16.04 LTS
      Client
      • Service Version: N/A
      • OS: N/A
      Description

      In previous versions of FOG it was possible to use image path names with “-” or “.”. This does not seem to be possible any more. The question is, why is this no longer possible, and is there a work around?

      Only using underscore in an image path makes a long image name hard to read (at least for me as I hate using underscore).

      I’ve tried to find if this has been mentioned or asked about previously (which it probably has), but I’m just not able to find it.
      This is of course not a critical issue, just nice to have.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        I have it currently replacing anything that’s not _ A-z 0-9. This is more of a safety net than a requirement. I can add it back in though. I’ll add back in the capability. It will replace anything in “regex” form of: /[^\w+\/\.-]/g This will be available for 1.4.0.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        E 1 Reply Last reply Reply Quote 1
        • E
          EspenU @Tom Elliott
          last edited by

          @Tom-Elliott
          I have no idea how to read regular expressions, but the way I understand your post is that from 1.4.0 it will be possible to use image path names that include - and . again? If so, that’s great! Thank you very much :-).

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @EspenU
            last edited by

            @EspenU yes.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            126

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project