You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
In h5p-editor-html.js the basePath for ckeditor is set to CKEDITOR.basePath = ns.basePath + '/ckeditor/'
which results in a double slash because basePath already has a trailing slash.
(at least in the wordpress implementation and from what I've tested it is needed for the darkroom image editor because there the path is set without an extra slash).
From what I've gathered this results in a valid url and for example in wordpress it is interpreted correctly but it does not seem to be intended.
I'm currently experimenting with a Java backend for h5p and jetty is not happy with the double slash
The text was updated successfully, but these errors were encountered:
Hi,
In h5p-editor-html.js the basePath for ckeditor is set to
CKEDITOR.basePath = ns.basePath + '/ckeditor/'
which results in a double slash because basePath already has a trailing slash.
(at least in the wordpress implementation and from what I've tested it is needed for the darkroom image editor because there the path is set without an extra slash).
From what I've gathered this results in a valid url and for example in wordpress it is interpreted correctly but it does not seem to be intended.
I'm currently experimenting with a Java backend for h5p and jetty is not happy with the double slash
The text was updated successfully, but these errors were encountered: