Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1668

Malformed url on SAP NetWeaver 7.30

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 6.5.2
    • 6.5.1
    • ZHTML
    • None

      SAP NetWeaver server appends extra parameter (saplb) with jsessionid when rewriting url (session management).

      Example:
      http://example.com/myapplication/zkau/web/2e3e2f9a/zul/css/zk.wcs;jsessionid=SESSION_ID;saplb_*=SOMETHING

      When I start my ZK application on NW, application does not work because ZK tried load malformed URLs:

      Example:
      http://example.com/myapplication/zkau;jsessionid=SESSION_ID/web/_zv2012121311/js/zul.inp.wpd;saplb_*=SOMETHING

      Problem is in: https://github.com/zkoss/zk/blob/master/zk/src/archive/web/js/zk/zk.js#L1233 when ZK doesn't expected multiple session parameters in url (it search for last position of ';').

            vincentjian vincentjian
            sbglobesy sbglobesy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: