eclipse-archived / antenna

SW360 Antenna project
Other
22 stars 19 forks source link

Replace '/' and '\' by '_' in auto generated clearing document name #616

Closed KorSin closed 3 years ago

KorSin commented 3 years ago

Resolves #615

When no clearing document is specified for a release to be updated, a document is generated with a name consisting of the release's name and version. However, this name might contain a '/' or '\' character and the documents name is interpreted to contain a subdirectory, leading to file errors. Thus, every '/' and '\' occuring is replaced by a '_' character.

Signed-off-by: Korbinian Singhammer external.Korbinian.Singhammer2@bosch.io

Please provide a summary of your changes here.

  • Which issue is this pull request belonging to? (Refer to issue here)
  • How is it solving the issue?
  • Did you add or update any new dependencies that are required for your change?

Request Reviewer

You can add desired reviewers here with an @mention. @neubs-bsi

Type of Change

Mention one of the following:
bug fix | new feature | improvements | documentation update | CI | Other

Type of change: bug-fix

How Has This Been Tested?

If you have added any changes that require additional tests, or changes in tests, you should implement them and describe them here.
All test that passed before your contribution should pass after it as well.

Checklist

Must:

Optional: (delete if not applicable)

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_272) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11. Read more here