-
Notifications
You must be signed in to change notification settings - Fork 94
Quick fix added for invalid characters in MANIFEST header #1625
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
base: master
Are you sure you want to change the base?
Conversation
You probably mean attribute? See official wording at java.util.jar.Manifest. |
The OSGi speci always uses Bundle Headers as wording. https://docs.osgi.org/reference/bundle-headers.html Even Orcale name things in the main section "Header": https://docs.oracle.com/javase/tutorial/deployment/jar/defman.html
So I think talking about "attributes" would be highly confusing. |
As far as I have understood, the work 'attribute' would mean both, the "key: value" pair. But I have provided fix for removing invalid characters only from key(Header part). |
The Jar Specification explicitly allows both values:
So I think both can be used but "Header" is much more commonly understood. |
@HannesWell |
Yes, I'll try all your open PRs and answer your questions in the next days. Sorry for the delay, it has been a busy time. |
@HannesWell |
34cea75
to
cc1c664
Compare
Sorry, same as before. I try my best to review it as soon as possible. |
cc1c664
to
7966728
Compare
This pull request changes some projects for the first time in this development cycle.
An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patch
Further information are available in Common Build Issues - Missing version increments. |
We can't incorporate merge commits. Best to force push a rebased commit. |
e2189e8
to
d126552
Compare
This is to provide quick fix for invalid header name in MANIFEST.MF
It will provide fix by removing all the invalid characters (characters other than alpha numeric characters, '-' and '_')
for eg. in the below image, added a space after 'Require-Bundle' header
the added quick fix label is 'Remove invalid characters from header'. Once user clicks on 'Finish', it updates the header
Attaching another example
