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



  • 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.


  • Senior Developer

    @EspenU yes.



  • @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 :-).


  • Senior Developer

    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.


Log in to reply
 

361
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.