virtualmin / virtualmin-git

Virtualmin plugin to manage git repository creation and hosting for domains
GNU General Public License v3.0
11 stars 4 forks source link

Argument "2.25.1" isn't numeric in numeric ge (>=) at /usr/share/webmin/virtualmin-git/virtualmin-git-lib.pl line 128. #6

Open fortran77 opened 3 years ago

fortran77 commented 3 years ago

If $ver contains more than one dot, the numeric comparison fails.

https://github.com/virtualmin/virtualmin-git/blob/647c407b6cbee56256b6c75706fb3a5660e80056/virtualmin-git-lib.pl#L128

jcameron commented 3 years ago

Looks like I fixed this in the code already, but haven't released an update with the patch yet.