Sane detection of the host/port in entrypoint prod (#17847)
Sane detection of the host/port in entrypoint prod (#17847)

The previous regexp parsing was well, not perfect closely following the
ancient Chinese proverb "If you have problem, introduce regexp - you
will have two problems".

This PR replaces regexp matching with python urlsplit method.

Fixes: #17828
bolkedebruin/airflow,bolkedebruin/airflow,nathanielvarona/airflow,bolkedebruin/airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,apache/airflow,lyft/incubator-airflow,bolkedebruin/airflow,nathanielvarona/airflow,apache/incubator-airflow,cfei18/incubator-airflow,lyft/incubator-airflow,mistercrunch/airflow,Acehaidrey/incubator-airflow,nathanielvarona/airflow,apache/incubator-airflow,apache/airflow,cfei18/incubator-airflow,Acehaidrey/incubator-airflow,apache/airflow,cfei18/incubator-airflow,lyft/incubator-airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,apache/incubator-airflow,lyft/incubator-airflow,apache/incubator-airflow,nathanielvarona/airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,Acehaidrey/incubator-airflow,cfei18/incubator-airflow,Acehaidrey/incubator-airflow,mistercrunch/airflow,cfei18/incubator-airflow,apache/airflow,apache/airflow,apache/airflow,mistercrunch/airflow,danielvdende/incubator-airflow,bolkedebruin/airflow,Acehaidrey/incubator-airflow,danielvdende/incubator-airflow,danielvdende/incubator-airflow,mistercrunch/airflow,Acehaidrey/incubator-airflow