Character encoding fails when session is expired

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mn3m0n1c
    New Member
    • Jul 2007
    • 9

    [Forum] Character encoding fails when session is expired

    Hello everyone,
    i have this problem after upgrade to PHP7.

    When a user session expires while writing a post, encoding fails for these characters: à è ì ò ù
    User send the post, vbulletin requires the authentication and redirects to insert script, and the post result is: èòÃ*ùì
    Nothing strange happens if the session is still valid!

    I attach an image of some tests, one with session OK, and the other KO

    Tried to completely disable system plugin/hooks and use default Skin, but problem persists.

    This is my environment:
    PHP 7.1.13
    Apache v2.4.6
    Vbulletin 4.2.5
    CentOS 7

    To reproduce the issue in one fresh VB installation:
    - log in
    - open a first reply box in one random thread
    - duplicate tab in your browser
    - log off from the duplicated tab
    - write some "ò è ù à" in the first box, and post a reply
    Last edited by Mn3m0n1c; Thu 9 Aug '18, 6:51am.
  • Mn3m0n1c
    New Member
    • Jul 2007
    • 9

    #2
    Please, nobody can reproduce the problem? Need some other information?

    Comment

    • Pogo
      Senior Member
      • May 2001
      • 569

      #3
      You can apply this diff to your files to fix this issue.

      Either with a patch program or manually.
      Attached Files
      this is my sig

      Comment

      • Mn3m0n1c
        New Member
        • Jul 2007
        • 9

        #4
        Thank you so much Pogo!

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...