You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is. Is this consistently reproducible?
First off this is actually two bugs. I think the second bug has already been reported.
Mirth HTTP listener does not respect proxy headers on redirects ie x-forwarded-proto or x-forwarded-port
HTTP listener adds a trailing slash which is should not.
Expected behavior
A clear and concise description of what you expected to happen.
Mirth should return a 404 rather than redirect
If Mirth is going to redirect then it needs to respect proxy headers.
If Mirth is going to redirect then it should use a 301 Moved Permanently response code and not a 302 Found. 302 is "This response code means that the URI of requested resource has been changed temporarily." which is not the case.
Mirth should not add a trailing slash.
Actual behavior
A clear and concise description of what actually happens.
Mirth incorrect redirects and ignores proxy headers.
Screenshots
If applicable, add screenshots to help explain your problem.
[ec2-user@ip-172-31-16-5 ~]$ wget -S -O- --no-check-certificate --user username --password abc --header='Content-Type:application/json' --post-file=testdata.json 'https://Mirth-Web-111111.us-east-1.elb.amazonaws.com/order'
--2021-03-04 15:43:49-- https://mirth-web-11111.us-east-1.elb.amazonaws.com/order
Resolving mirth-web-1111111.us-east-1.elb.amazonaws.com (mirth-web-111111.us-east-1.elb.amazonaws.com)... 11.20.111.116, 34.111.11.106
Connecting to mirth-web-1111111.us-east-1.elb.amazonaws.com (mirth-web-111111.us-east-1.elb.amazonaws.com)|11.20.111.116|:443... connected.
WARNING: no certificate subject alternative name matches
requested host name ‘mirth-web-111111.us-east-1.elb.amazonaws.com’.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Thu, 04 Mar 2021 15:43:49 GMT
Content-Length: 0
Connection: keep-alive
Location: http:https://mirth-web-1111111.us-east-1.elb.amazonaws.com/order/
Server: Jetty(9.4.9.v20180320)
Location: http:https://mirth-web-111111.us-east-1.elb.amazonaws.com/order/ [following]
Environment (please complete the following information):
OS: AWS Linux 1 / ARM64 / Docker Container
OpenJDK 8
Connect Version 3.7.0
Workaround(s)
Are there one or more workarounds for this issue currently? None other than putting in the url with trailing slash.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is. Is this consistently reproducible?
First off this is actually two bugs. I think the second bug has already been reported.
To Reproduce
Setup steps (if required). Example:
HTTP Header as seen in Mirth
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what actually happens.
Mirth incorrect redirects and ignores proxy headers.
Screenshots
If applicable, add screenshots to help explain your problem.
[ec2-user@ip-172-31-16-5 ~]$ wget -S -O- --no-check-certificate --user username --password abc --header='Content-Type:application/json' --post-file=testdata.json 'https://Mirth-Web-111111.us-east-1.elb.amazonaws.com/order'
--2021-03-04 15:43:49-- https://mirth-web-11111.us-east-1.elb.amazonaws.com/order
Resolving mirth-web-1111111.us-east-1.elb.amazonaws.com (mirth-web-111111.us-east-1.elb.amazonaws.com)... 11.20.111.116, 34.111.11.106
Connecting to mirth-web-1111111.us-east-1.elb.amazonaws.com (mirth-web-111111.us-east-1.elb.amazonaws.com)|11.20.111.116|:443... connected.
WARNING: no certificate subject alternative name matches
requested host name ‘mirth-web-111111.us-east-1.elb.amazonaws.com’.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Thu, 04 Mar 2021 15:43:49 GMT
Content-Length: 0
Connection: keep-alive
Location: http:https://mirth-web-1111111.us-east-1.elb.amazonaws.com/order/
Server: Jetty(9.4.9.v20180320)
Location: http:https://mirth-web-111111.us-east-1.elb.amazonaws.com/order/ [following]
Environment (please complete the following information):
Workaround(s)
Are there one or more workarounds for this issue currently? None other than putting in the url with trailing slash.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: