No announcement yet.

Character encoding fails when session is expired

  • Filter
  • Time
  • Show
Clear All
new posts

  • [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, 7:51am.

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


    • #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


      • #4
        Thank you so much Pogo!


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