René's URL Explorer Experiment


Title: Fix for java.nio.charset.IllegalCharsetNameException: utf-8" by anushibinj · Pull Request #6 · apache/axis-axis1-java · GitHub

Open Graph Title: Fix for java.nio.charset.IllegalCharsetNameException: utf-8" by anushibinj · Pull Request #6 · apache/axis-axis1-java

X Title: Fix for java.nio.charset.IllegalCharsetNameException: utf-8" by anushibinj · Pull Request #6 · apache/axis-axis1-java

Description: In Weblogic 14c, when executing an MTOM SOAP Request, we are faced with the following exception: Error 500--Internal Server Error


Error 500--Internal Server Error

java.nio.charset.IllegalCharsetNameException: utf-8"
	at java.nio.charset.Charset.checkName(Charset.java:315)
	at java.nio.charset.Charset.lookup2(Charset.java:484)
	at java.nio.charset.Charset.lookup(Charset.java:464)
	at java.nio.charset.Charset.isSupported(Charset.java:505)
	at weblogic.servlet.internal.ChunkOutput.getCharset(ChunkOutput.java:249)
	at weblogic.servlet.internal.ChunkOutput.create(ChunkOutput.java:201)
	at weblogic.servlet.internal.ChunkOutputWrapper.changeToCharset(ChunkOutputWrapper.java:73)
	at weblogic.servlet.internal.ServletResponseImpl.setEncoding(ServletResponseImpl.java:1329)
	at weblogic.servlet.internal.ServletResponseImpl.setContentType(ServletResponseImpl.java:521)
	at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:872)
	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:762)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:665)
	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:332)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:250)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3862)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3829)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344)
	at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
	at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
	at weblogic.servlet.internal.WebAppServletContext.processSecuredExecute(WebAppServletContext.java:2502)
	at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2351)
	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2326)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2304)
	at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1779)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1733)
	at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
	at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
	at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:651)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
This appears to be happening due to this line in org.apache.axis.attachments.MimeUtils: multipart = new javax.mail.internet.MimeMultipart( "related;type=\"application/xop+xml\"; start=\"<" + rootCID + ">\"; start-info=\"text/xml; charset=utf-8\""); You can see that both start-info and charset are combined into a single header. The fix is to split the start-info and charset attributes to separate headers like this: multipart = new javax.mail.internet.MimeMultipart( "related;type=\"application/xop+xml\"; start=\"<" + rootCID + ">\"; start-info=\"text/xml\"; charset=\"utf-8\""); After the code change, the issue is not reproducible.

Open Graph Description: In Weblogic 14c, when executing an MTOM SOAP Request, we are faced with the following exception: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> &l...

X Description: In Weblogic 14c, when executing an MTOM SOAP Request, we are faced with the following exception: &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Draft//EN&quot;&gt; &lt;HTML...

Opengraph URL: https://github.com/apache/axis-axis1-java/pull/6

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:58bc6749-eaf6-47f0-ac89-07ffb9aa4512
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA0C:1A7F34:4B3523:6A1C6E:6AF71B3A
html-safe-nonce65d23ef42d5cb374c062a254a7fb95c8865e90a0ebc61507291213bf2c2274a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTBDOjFBN0YzNDo0QjM1MjM6NkExQzZFOjZBRjcxQjNBIiwidmlzaXRvcl9pZCI6IjYwOTYxMDk4MTI0NTE4NDI4NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3553f89496420a3b563b42cbd5a2031f140db505cd30597f3c8e2c45190ac2d9
hovercard-subject-tagpull_request:1451673436
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/apache/axis-axis1-java/pull/6/files
twitter:imagehttps://avatars.githubusercontent.com/u/22093731?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/22093731?s=400&v=4
og:image:altIn Weblogic 14c, when executing an MTOM SOAP Request, we are faced with the following exception: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> &l...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None24029fae934b29fd2bf68c26391ed86bbe5d97a3eab6831409e0b6f4058303c6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/apache/axis-axis1-java git https://github.com/apache/axis-axis1-java.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id248645912
octolytics-dimension-repository_nwoapache/axis-axis1-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id248645912
octolytics-dimension-repository_network_root_nwoapache/axis-axis1-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release437496c6e2e8dce07e08e315aa63df12d8d328ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/axis-axis1-java/pull/6/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Faxis-axis1-java%2Fpull%2F6%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Faxis-axis1-java%2Fpull%2F6%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=apache%2Faxis-axis1-java
Reloadhttps://github.com/apache/axis-axis1-java/pull/6/files
Reloadhttps://github.com/apache/axis-axis1-java/pull/6/files
Reloadhttps://github.com/apache/axis-axis1-java/pull/6/files
apachehttps://github.com/apache
axis-axis1-javahttps://github.com/apache/axis-axis1-java
Codehttps://github.com/apache/axis-axis1-java
Pull requests4 (4)https://github.com/apache/axis-axis1-java/pulls
Actionshttps://github.com/apache/axis-axis1-java/actions
Security and qualityhttps://github.com/apache/axis-axis1-java/security
Insightshttps://github.com/apache/axis-axis1-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fapache%2Faxis-axis1-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fapache%2Faxis-axis1-java%2Fissues%2Fnew%2Fchoose
robertlazarskihttps://github.com/robertlazarski
apache:masterhttps://github.com/apache/axis-axis1-java/tree/master
anushibinj:wls-mtom-charset-issuehttps://github.com/anushibinj/axis-axis1-java/tree/wls-mtom-charset-issue
Conversation 1 https://github.com/apache/axis-axis1-java/pull/6
Commits 1 https://github.com/apache/axis-axis1-java/pull/6/commits
Checks 0 https://github.com/apache/axis-axis1-java/pull/6/checks
Files changed https://github.com/apache/axis-axis1-java/pull/6/files
Please reload this pagehttps://github.com/apache/axis-axis1-java/pull/6/files
Fix for java.nio.charset.IllegalCharsetNameException: utf-8" https://github.com/apache/axis-axis1-java/pull/6/files#top
Show all changes 1 commit https://github.com/apache/axis-axis1-java/pull/6/files
41f8ad9 Fix for java.nio.charset.IllegalCharsetNameException: utf-8" ajosephr-opentext Jul 27, 2023 https://github.com/apache/axis-axis1-java/pull/6/commits/41f8ad9833cde461710cc566ff6bc967dffe40a0
Clear filters https://github.com/apache/axis-axis1-java/pull/6/files
Please reload this pagehttps://github.com/apache/axis-axis1-java/pull/6/files
Please reload this pagehttps://github.com/apache/axis-axis1-java/pull/6/files
axis-rt-core/src/main/java/org/apache/axis/attachments/MimeUtils.javahttps://github.com/apache/axis-axis1-java/pull/6/files#diff-a8a1726eeddd1a4b1b1bbc5f2ba765ec5225862843e8cca492993df258e464b5
View file https://github.com/anushibinj/axis-axis1-java/blob/41f8ad9833cde461710cc566ff6bc967dffe40a0/axis-rt-core/src/main/java/org/apache/axis/attachments/MimeUtils.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/apache/axis-axis1-java/pull/6/{{ revealButtonHref }}
https://github.com/apache/axis-axis1-java/pull/6/files#diff-a8a1726eeddd1a4b1b1bbc5f2ba765ec5225862843e8cca492993df258e464b5
https://github.com/apache/axis-axis1-java/pull/6/files#diff-a8a1726eeddd1a4b1b1bbc5f2ba765ec5225862843e8cca492993df258e464b5
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.