Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[java][resttemplate] avoid StringIndexOutOfBoundsException on empty HttpHeaders #12327

Merged
merged 1 commit into from
May 11, 2022
Merged

[java][resttemplate] avoid StringIndexOutOfBoundsException on empty HttpHeaders #12327

merged 1 commit into from
May 11, 2022

Conversation

ohl-nemeses
Copy link
Contributor

@ohl-nemeses ohl-nemeses commented May 10, 2022

Fix for #12319

@wing328
Copy link
Member

wing328 commented May 11, 2022

cc @bbdouglas (2017/07) @sreeshas (2017/08) @jfiala (2017/08) @lukoyanov (2017/09) @cbornet (2017/09) @jeff9finger (2018/01) @karismann (2019/03) @Zomzog (2019/04) @lwlee2608 (2019/10)

@wing328 wing328 added this to the 6.0.0 milestone May 11, 2022
@wing328 wing328 changed the title 12319 avoid StringIndexOutOfBoundsException on empty HttpHeaders [java][resttemplate] avoid StringIndexOutOfBoundsException on empty HttpHeaders May 11, 2022
@wing328
Copy link
Member

wing328 commented May 11, 2022

Tests with updated samples passed locally.

@wing328 wing328 merged commit 1dce6f1 into OpenAPITools:master May 11, 2022
@wing328
Copy link
Member

wing328 commented May 11, 2022

FYI. Samples updated via 5867845

@ohl-nemeses
Copy link
Contributor Author

wing328 Thanks a lot!

@wing328
Copy link
Member

wing328 commented May 28, 2022

Thanks again for the PR, which has been included in the v6.0.0 release: https://twitter.com/oas_generator/status/1529669733934841856

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants