apache / apache/cordova-plugin-inappbrowser
InAppBrowser sends a non-www request
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
I'm having a problem when I try to call my website. I'm calling it using the link "https://www.mywebsite.com" but the in-app browser (i don't know why) is sending the request in this way: "https://mywebsite.com" and since the website I'm trying to reach does not have an SSL certificate valid for both links (it is only set for the www version of the link), it returns me the error "ERR_CERT_COMMON_NAME_INVALID".
Does anyone know how do I force the in-app browser to send the response in the way that I want? The problem is both for Android and iOS.
Thanks in advance to anyone that will try to help :D
Contributor guide
Research direction
No files or tests are named in the report. Start by reproducing the URL behavior in the Android and iOS InAppBrowser paths, then verify whether the requested www hostname is retained and the certificate error is avoided on both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100