Product key bug with hostinfo.php in version 1.5.4



  • Found and fixed a bug, just hoping it can get committed to future releases. I’m writing some post download scripts and the product key wasn’t decoding properly. So I just copied over this line from route.class.php, and all is well now.

    Line 172 of hostinfo.php should be:

    if (mb_detect_encoding($test_base64, 'utf-8', true)) {
    

    Rather than:

    if (mb_detect_encoding($test_base64)) {
    

  • Developer

    @nextechinc Thanks for posting! Sorry we have lost track of this. I just added your suggested change to the dev-branch. Will be in the next release.


 

473
Online

5.4k
Users

12.6k
Topics

118.7k
Posts