Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22547

Fix websocket connections on root servlet context installations

    XMLWordPrintable

Details

    • High
    • Easy
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Currently `xcontext.getWiki().getWebAppPath(xcontext)` gives a slash when configured empty in the xwiki.cfg which is needed for a short URL installation.

      xwiki.webapppath=

      For the websocket-url derivation in
      xwiki-platform-core/xwiki-platform-websocket/src/main/java/org/xwiki/websocket/script/WebSocketScriptService.java this gives a path like `//websocket` resulting in a not working URL and websocket connection.

      Attachments

        Issue Links

          Activity

            People

              promasu Adrian Nöthlich
              promasu Adrian Nöthlich
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: