Skip to content

Xtext tool service does not use trusted origins env variable #38

@barnettwilliam

Description

@barnettwilliam

The trusted origins header for the generated editor instance is not set using the TRUSTED_ORIGINS environment variable used elswhere by the platform. Instead, it is hardcoded into:

  • platformtools/xtext/acemodebundler/web.xml
  • platformtools/xtext/editorserver/scr/config.js

which if not set correctly the deployed editor instances cannot be accessed as the session cookie will not be used so requests for validation and autocompletion will be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions