Fork me on GitHub

Avatar 2.0 bug  Bottom

  • Avatar 2.0 has a few bugs:

    Its uses the syntax explode($string,$delimiter) when it should be:

    explode($delimiter,$string) whenever its checking permissions on the avatars.

    Also, even after the correction, the permission check doesn't take into account the file extension.

    So, at explode pers_1.jpg becomes [pers] and [1.jpg] but then the permission check is looking for an integer...so it fails on [1.jpg] but would pass for [1].

    The file extensions will need to be parsed out before the permission check.

    NCM
    SwitchBit/UHEweb
  • Perhaps in one of the RCs, not in the final version 2.0, see pnuserapi.php, line 87ff (funtion checkavatar()).





    --
    "He is not dangerous, he just wants to play...."
  • Thanks Landseer...I thought I had the latest, but I'll re-download and check icon_smile

  • Avatar 2.0 final works great - I had the final, and an RC...guess I unpacked the RC by mistake icon_smile

This list is based on users active over the last 60 minutes.