Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39326

User can't login if user-agent header text is larger than 255

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5
    • Fix Version/s: 10.6, 11.0
    • Component/s: Kernel
    • Labels:
    • 10 status:
      Resolved
    • Previous Issue Keys:
      KNL-1379

      Description

      I've found some request in the sakai error reports that shows login requests from iOS browser that are larger than 256.
      Ex:
      Mozilla/5.0 (iPhone; CPU iPhone OS 8_4_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12H321 [FBAN/FBIOS;FBAV/38.0.0.6.79;FBBV/14316658;FBDV/iPhone6,2;FBMD/iPhone;FBSN/iPhone OS;FBSV/8.4.1;FBSS/2; FBCR/OrangeEspaña;FBID/phone;FBLC/es_ES;FBOP/5]

      It results in a exception while trying to save the session:

      caused by: java.sql.SQLException: ORA-12899: valor massa gran per a la columna "SAKAI29"."SAKAI_SESSION"."SESSION_USER_AGENT" (real: 256, màxim: 255)

      IMO it should be increased a bit.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  k1team KERNEL TEAM (Inactive)
                  Reporter:
                  alex@asic.udl.es Alexandre Ballesté
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code