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

Snapin upload replaces . (dot) with _ (underscore)

Scheduled Pinned Locked Moved Solved
Bug Reports
2
4
1.0k
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.
  • B
    bluenix
    last edited by bluenix Jul 27, 2016, 12:58 AM Jul 27, 2016, 6:56 AM

    In FOG 1.3.0 RC2, when a new snapin is being created, the filename of the file that is uploaded is being changed: The . (dot) is being replaced by _ (underscore). See the attached screenshot showing the result of uploading the file “test.cmd”. Is there some php configuration change I need to make to resolve this, or could this be a bug that needs squashing?

    0_1469602598732_Schermafbeelding 2016-07-27 om 08.52.59.png

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jul 27, 2016, 10:11 AM

      This shouldn’t pose any serious impacts, though I suppose Windows won’t auto run because it doesn’t know how to handle the file.

      I’ve fixed the dot being replaced with _ and the fix will be available for when RC-5 releases.

      In the meantime, you can update the files replaced with their respective forms. For .cmd or .bat files I believe you’d want to use the Batch file template (as it will call the script using the cmd.exe executable.)

      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
      • T
        Tom Elliott
        last edited by Jul 27, 2016, 10:12 AM

        I’ve moved this thread to bug reports and solved so people are aware that this was unintentional and is fixed in the working branch.

        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
        • B
          bluenix
          last edited by Jul 27, 2016, 10:15 AM

          Great! Thank you!

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

          208

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project