[Bug 67849] MIME type mapping for JavaScript is text/javascript instead of application/javascript

2023-10-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=67849 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 67849] MIME type mapping for JavaScript is text/javascript instead of application/javascript

2023-10-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=67849 --- Comment #1 from Guillaume Poirier-Morency --- Our workaround is to add a mime mapping in our web.xml configuration: js application/javascript

[Bug 67849] New: MIME type mapping for JavaScript is text/javascript instead of application/javascript

2023-10-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=67849 Bug ID: 67849 Summary: MIME type mapping for JavaScript is text/javascript instead of application/javascript Product: Tomcat 9 Version: 9.0.80 Hardware: PC

[tomcat] branch main updated: Refactor cert load using Tomcat file API and memory BIO

2023-10-20 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new 87ac09c056 Refactor cert load using Tomcat file API

[Bug 67675] Tomcat and/or Java do not read encrypted private keys with DES-EDE3-CBC generated by openssl-req(1)

2023-10-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=67675 --- Comment #15 from Michael Osipov --- (In reply to Mark Thomas from comment #14) > I have this working with the current test cases and a default OpenSSL > self-signed key as per the original report. > > The code needs to be cleaned up

[Bug 67675] Tomcat and/or Java do not read encrypted private keys with DES-EDE3-CBC generated by openssl-req(1)

2023-10-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=67675 --- Comment #14 from Mark Thomas --- I have this working with the current test cases and a default OpenSSL self-signed key as per the original report. The code needs to be cleaned up rather so I am currently expecting to commit the fix early

Re: [PR] BZ 66670: Add SSLHostConfig#certificateKeyPasswordFile and SSLHostConfig#certificateKeystorePasswordFile [tomcat]

2023-10-20 Thread via GitHub
rmaucher commented on PR #672: URL: https://github.com/apache/tomcat/pull/672#issuecomment-1772689379 Ok, and I'll update the new OpenSSLContext to do things properly (eventually) since it would be better to use a memory BIO rather than a file BIO. -- This is an automated message from

Re: Non preview FFM (formerly known as Panama) API

2023-10-20 Thread Rémy Maucherat
On Fri, Oct 20, 2023 at 12:17 PM Michael Osipov wrote: > > On 2023/10/20 07:30:04 Rémy Maucherat wrote: > > Hi, > > > > I am very pleased to report that after years of development, the > > Foreign Function & Memory API is (finally !) no longer a preview API. > > It is now available in build 20 of

[tomcat] branch main updated: Add OPENSSL_free macro

2023-10-20 Thread remm
This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/main by this push: new 5952cf23a1 Add OPENSSL_free macro 5952cf23a1 is

Re: [PR] BZ 66670: Add SSLHostConfig#certificateKeyPasswordFile and SSLHostConfig#certificateKeystorePasswordFile [tomcat]

2023-10-20 Thread via GitHub
michael-o commented on PR #672: URL: https://github.com/apache/tomcat/pull/672#issuecomment-1772580776 I'd like to merge this weekend unless there will be objections after my change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: Non preview FFM (formerly known as Panama) API

2023-10-20 Thread Michael Osipov
On 2023/10/20 07:30:04 Rémy Maucherat wrote: > Hi, > > I am very pleased to report that after years of development, the > Foreign Function & Memory API is (finally !) no longer a preview API. > It is now available in build 20 of Java 22 where it can be used > without the preview flag. >

[Bug 66875] Handling async error after spring already handled error

2023-10-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66875 --- Comment #8 from Han Li --- (In reply to Mark Thomas from comment #7) > The original bug report was for two JSON responses in a single HTTP > response. Is that still an issue? > > Is the error message regarding the response already being

JDK 21 Is Now GA, a New VS Code Extension, and an Annotation Processing Heads-up

2023-10-20 Thread David Delabassee
Greetings! JDK 21 has been released (General Availability) on September 19th as planned. You can find "The Arrival of Java 21" announcement here [1], and some additional Java 21 materials in the "Topics of Interest" section below. On behalf of the entire Java team, let me send our thanks to

Re: [PR] Added option to use custom SSLContext [tomcat]

2023-10-20 Thread via GitHub
Hakky54 commented on PR #673: URL: https://github.com/apache/tomcat/pull/673#issuecomment-1772265010 I see indeed clearly that it was not the intention of the developers/maintainers to expose a setter method to set a custom sslcontext which is later on ignored. As it is clearly not a bug

Non preview FFM (formerly known as Panama) API

2023-10-20 Thread Rémy Maucherat
Hi, I am very pleased to report that after years of development, the Foreign Function & Memory API is (finally !) no longer a preview API. It is now available in build 20 of Java 22 where it can be used without the preview flag. Downloads: https://jdk.java.net/22/ Assuming Mark accepts working

Re: [PR] Added option to use custom SSLContext [tomcat]

2023-10-20 Thread via GitHub
rmaucher commented on PR #673: URL: https://github.com/apache/tomcat/pull/673#issuecomment-1772201584 It doesn't work like that because it was not supposed to. The item that is/was supposed to be configured is the SSLImplementation, which then provides the SSLUtil which will create the