-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second parameter of Substring is wrong in HeaderFindAndReplaceCreator #1424
Conversation
Second parameter of Substring was wrong. Existing implementation works only for replacements at the beginning of a string (startOfPlaceholder = 0) Cherry picked from ThreeMammals#1424
Related to |
@fku- Hi Freddy! The feature branch has been rebased onto ThreeMammals:develop! I see that develop branch in your fork is old. Is the PR related to an issue in backlog? |
src/Ocelot/Configuration/Creator/HeaderFindAndReplaceCreator.cs
Outdated
Show resolved
Hide resolved
src/Ocelot/Configuration/Creator/HeaderFindAndReplaceCreator.cs
Outdated
Show resolved
Hide resolved
Second parameter of Substring was wrong. Existing implementation works only for replacements at the beginning of a string (startOfPlaceholder = 0)
Remove and Sort Usings
Co-authored-by: Raynald Messié <[email protected]>
Second parameter of
Substring
was wrong: calculation of value for theint length
parameter was wrong.Existing implementation works only for replacements at the beginning of a string
startOfPlaceholder = 0
.Proposed Changes