Skip to content

Commit

Permalink
Clean sent filename (#162)
Browse files Browse the repository at this point in the history
* Version change

* Clean filename for error/sent files persisted

* Release notes
  • Loading branch information
uhurusurfa committed Sep 18, 2019
1 parent 60952f3 commit 051897a
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>2.9.3</version>
<version>2.9.4</version>
</parent>

<artifactId>openas2-osgi</artifactId>
Expand Down
13 changes: 6 additions & 7 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# OpenAS2 Server
# Version 2.9.3
# Version 2.9.4
# RELEASE NOTES
-----
The OpenAS2 project is pleased to announce the release of OpenAS2 2.9.3
The OpenAS2 project is pleased to announce the release of OpenAS2 2.9.4

The release download file is: OpenAS2Server-2.9.3.zip
The release download file is: OpenAS2Server-2.9.4.zip

The zip file contains a PDF document (OpenAS2HowTo.pdf) providing information on installing and using the application.

Version 2.9.3 - 2019-09-05
This is a minior enhancement release:
Version 2.9.4 - 2019-09-18
This is a minior bugfix release:
**IMPORTANT NOTE**: Please review upgrade notes if you are upgrading

1. Allowed defining a custom fallback file name for received fiels where partner does not send file name. See section 6.3 of the OpenAS2HowTo and the as2_receive_message_filename_fallback attribute.
2. Upgraded BouncyCastle libraries to 1.62 to support Java 12
1. Clean sent/error file names for file system compatibility

##Upgrade Notes
See the openAS2HowTo appendix for the general process on upgrading OpenAS2.
Expand Down
2 changes: 1 addition & 1 deletion Remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>2.9.3</version>
<version>2.9.4</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion Server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- DO NOT CHANGE THIS "groupId" WITHOUT CHANGING XMLSession.getManifestAttributes.MANIFEST_VENDOR_ID_ATTRIB -->
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>2.9.3</version>
<version>2.9.4</version>
</parent>

<artifactId>openas2-server</artifactId>
Expand Down
1 change: 1 addition & 0 deletions Server/src/main/java/org/openas2/util/AS2Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ public static void cleanupFiles(Message msg, boolean isError) {
.add("rand", new RandomParameters());
tgtFileName = ParameterParser.parse(targetFilenameUnparsed, parser);
}
tgtFileName = IOUtil.cleanFilename(tgtFileName);
tgtFile = new File(tgtDir + "/" + tgtFileName);
tgtFile = IOUtil.moveFile(fPendingFile, tgtFile, false);
isMoved = true;
Expand Down
6 changes: 6 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 2.9.4 - 2019-09-18
This is a minior bugfix release:
**IMPORTANT NOTE**: Please review upgrade notes in the RELEASE-NOTES.md if you are upgrading

1. Clean sent/error file names for file system compatibility

Version 2.9.3 - 2019-09-05
This is a minior enhancement release:
**IMPORTANT NOTE**: Please review upgrade notes in the RELEASE-NOTES.md if you are upgrading
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.openas2</groupId>
<artifactId>OpenAS2</artifactId>
<version>2.9.3</version>
<version>2.9.4</version>
<name>OpenAS2</name>
<packaging>pom</packaging>

Expand Down

0 comments on commit 051897a

Please sign in to comment.