[jira] [Created] (JAMES-4011) StripAttachment fails for unquoted filenames with space

2024-02-26 Thread Benoit Tellier (Jira)
Benoit Tellier created JAMES-4011:
-

 Summary: StripAttachment fails for unquoted filenames with space
 Key: JAMES-4011
 URL: https://issues.apache.org/jira/browse/JAMES-4011
 Project: James Server
  Issue Type: Bug
  Components: Mailet Contributions
Reporter: Benoit Tellier



{code:java}
--gwA6NAbT8Pk0FYCy0yoPh61m
Content-Type: application/pdf
Content-Disposition: attachment; filename=Vietnam Airline.pdf
Content-Transfer-Encoding: base64

JVBERi0xLjUKJbXtrvsKMyAwIG9iago8PCAvTGVuZ3RoIDQgMCBSCiAgIC9GaWx0ZXIgL0Zs
{code}

triggers the following logs:

{code:java}
javax.mail.internet.ParseException: In parameter list <; filename=Vietnam 
Airline.pdf>, expected ';', got "Airline.pdf"
at javax.mail.internet.ParameterList.(ParameterList.java:314)
at 
javax.mail.internet.ContentDisposition.(ContentDisposition.java:109)
at javax.mail.internet.MimeBodyPart.getFileName(MimeBodyPart.java:1294)
at javax.mail.internet.MimeBodyPart.getFileName(MimeBodyPart.java:549)
at 
org.apache.james.transport.mailets.StripAttachment.getFilename(StripAttachment.java:379)
at 
org.apache.james.transport.mailets.StripAttachment.shouldBeRemoved(StripAttachment.java:312)
at 
org.apache.james.transport.mailets.StripAttachment.processMultipartPartMessage(StripAttachment.java:288)
at 
org.apache.james.transport.mailets.StripAttachment.service(StripAttachment.java:229)
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



(james-mime4j) branch master updated: [RELEASE] Rollover to 0.8.10 (#93)

2024-02-26 Thread btellier
This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-mime4j.git


The following commit(s) were added to refs/heads/master by this push:
 new 597db871 [RELEASE] Rollover to 0.8.10 (#93)
597db871 is described below

commit 597db871705f2083041db39eb207cbb85ef533b4
Author: Benoit TELLIER 
AuthorDate: Tue Feb 27 07:34:25 2024 +0100

[RELEASE] Rollover to 0.8.10 (#93)
---
 CHANGELOG.md | 2 +-
 README.adoc  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b491bade..8fc56e49 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this 
file.
 
 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 
-## [UNRELEASED]
+## [0.8.10] - 2024-01-09
 
 ## [0.8.10] - 2024-02-22
 
diff --git a/README.adoc b/README.adoc
index 81e310ba..71f191c6 100644
--- a/README.adoc
+++ b/README.adoc
@@ -5,7 +5,7 @@ 
image:https://img.shields.io/badge/Join%20us-Mailing%20lists-purple.svg[link="ht
 
link:https://gitter.im/apache/james-project[image:https://badges.gitter.im/apache/james-project.svg[Join
 the chat at link:https://gitter.im/apache/james-project]]
 
image:https://img.shields.io/badge/CI-Jenkins-blue.svg[link="https://ci-builds.apache.org/job/james/job/ApacheJames-Mime4J/;]
 
image:https://img.shields.io/badge/Documentation-green.svg[link="https://james.apache.org/mime4j/index.html;]
-image:https://img.shields.io/badge/Downloads-0.8.9-yellow.svg[link="https://james.apache.org/download.cgi#Apache_Mime4J;]
+image:https://img.shields.io/badge/Downloads-0.8.10-yellow.svg[link="https://james.apache.org/download.cgi#Apache_Mime4J;]
 
image:https://img.shields.io/badge/Tickets-JIRA-blue.svg[link="https://issues.apache.org/jira/projects/MIME4J/issues;]
 
image:https://img.shields.io/badge/License-ApacheV2-orange.svg[link="https://www.apache.org/licenses/;]
 
image:https://img.shields.io/badge/Latests-news-red.svg[link="https://james.apache.org/index.html#posts;]
@@ -55,7 +55,7 @@ Add this maven dependency to import MIME4J core:
 
 org.apache.james
 apache-mime4j-core
-0.8.9
+0.8.10
 
 
 
@@ -65,7 +65,7 @@ Add this maven dependency to import MIME4J dom:
 
 org.apache.james
 apache-mime4j-dom
-0.8.9
+0.8.10
 
 
 


-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[BUILD-STABLE]: Job 'james/ApacheJames/master [master] [1274]'

2024-02-26 Thread Apache Jenkins Server
BUILD-STABLE: Job 'james/ApacheJames/master [master] [1274]':
Is back to normal.

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

[BUILD-FAILURE]: Job 'james/ApacheJames/master [master] [1273]'

2024-02-26 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'james/ApacheJames/master [master] [1273]':
Check console output at "https://ci-builds.apache.org/job/james/job/ApacheJames/job/master/1273/;>james/ApacheJames/master
 [master] [1273]"

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org