Using "Image Path" names with - or . when creating an image?
- FOG Version: .1.3.3
- OS: Ubuntu 16.04 LTS
- Service Version: N/A
- OS: N/A
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.
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 .
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+\/\.-]/gThis will be available for 1.4.0.