Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TCK] webbundle: handler should override only Web-ContextPath header for existing bundles #418

Closed
grgrzybek opened this issue Apr 13, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@grgrzybek
Copy link
Member

grgrzybek commented Apr 13, 2023

If passing existing bundle to webbundle: protocol handler, only Web-ContextPath can be override according to CPMN R8 128.4.4 WAB Modification.

The Web URL Handler can set or modify the Web-ContextPath of a WAB if the input source is already a bundle. It must be considered as a bundle when any of the OSGi defined headers listed in Table 128.3 is present in the bundle.

For WAB Modification, the Web URL Handler must only support the Web-ContextPath parameter and it must not modify any existing headers other than the Web-ContextPath. Any other parameter given must result in a Bundle Exception.

@grgrzybek grgrzybek added the tck label Apr 13, 2023
@grgrzybek grgrzybek added this to the 2.6.14 milestone Apr 13, 2023
@grgrzybek grgrzybek self-assigned this Apr 13, 2023
@grgrzybek
Copy link
Member Author

This is to fix problem first described here osgi/osgi#577.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant