Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-8086

viewonline.php not supporting _ in file name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.5
    • 3.0.x
    • Other
    • None
    • PHP Environment:
      Database:

      through the code in the viewonline.php is

      preg_match('#^([a-z/]+)#i', $row['session_page'], $on_page);

      the switch case won't work for files including a _. This is not the case on phpbb itself, but on some mods. This could be easily fixed by adding the _ to the preg_match

      preg_match('#^([a-z/_]+)#i', $row['session_page'], $on_page);

            Acyd Burn Meik Sievertsen [X] (Inactive)
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: