On 05/12/2019 17:10, Kushagra Bindal wrote:
> Thanks Mark for your response.
> 
> In which version tomcat has introduced these restrictions

Check the changelog. Look for "validation".

> and is there any
> available documentation around such cases which could help me in
> understanding the nature of restrictions.

RFC 3986, section 3.2.2 and references.

Mark


> 
> On Thu, Dec 5, 2019, 10:31 PM Mark Thomas <ma...@apache.org> wrote:
> 
>> On 05/12/2019 16:58, Kushagra Bindal wrote:
>>> Hi Mark
>>>
>>> Yes that's correct that we are getting this error after startup. Actually
>>> in one of my url I am having extra : and thus resulting in failure. Same
>>> url was working properly in 8.5.24 version. Actually I can understand
>> that
>>> this is not a good practice to have extra : but making such changes could
>>> result into regression in application.
>>>
>>> So is there a way by which I can apply some setting like escape character
>>> or something which could help me in resolving this issue?
>>
>> Sorry, no. Requests with invalid host names are always rejected.
>>
>> Mark
>>
>>
>>>
>>> On Wed, Dec 4, 2019, 4:23 PM Mark Thomas <ma...@apache.org> wrote:
>>>
>>>> On 04/12/2019 05:19, Kushagra Bindal wrote:
>>>>> Hi,
>>>>>
>>>>> I tried to upgrade my tomcat on OpenAM from 8.5.24 to 9.0.29 version
>> and
>>>> I
>>>>> got below error in catalina.out during startup itself.
>>>>
>>>> That stack trace shows that this error is in response to an incoming
>>>> request, not part of the start-up sequence.
>>>>
>>>>> [http-nio-8080-exec-7] org.apache.coyote.AbstractProcessor.parseHost
>> The
>>>>> host [:] is not valid
>>>>
>>>> You have a broken client that is presenting an invalid Host header. If
>>>> you want the error to go away, fix the broken client.
>>>>
>>>> Mark
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>>
>>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to