Skip to content

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

Merged
wing328 merged 1 commit intoOpenAPITools:masterfrom
ohl-nemeses:fix_issue_12319
May 11, 2022
Merged

[java][resttemplate] avoid StringIndexOutOfBoundsException on empty HttpHeaders#12327
wing328 merged 1 commit intoOpenAPITools:masterfrom
ohl-nemeses:fix_issue_12319

Conversation

@ohl-nemeses
Copy link
Copy Markdown
Contributor

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

Fix for #12319

@wing328
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

wing328 commented May 11, 2022

FYI. Samples updated via 5867845

@ohl-nemeses
Copy link
Copy Markdown
Contributor Author

wing328 Thanks a lot!

@wing328
Copy link
Copy Markdown
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants