-
Notifications
You must be signed in to change notification settings - Fork 144
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
fix(http): preserve BodyFile absolute path #635
Conversation
2d3b1f9
to
eb6e8b6
Compare
CDS Report build-venom-a#1087.0 ✘
|
CDS Report build-venom-a#1092.0 ✘
|
I have tested this out and fails to work when we set lib_dir: lib http.go if !filepath.IsAbs(e.BodyFile) The test fails because no body is attached to the request. I tested using an additional check if configFileData.LibDir != nil {
libDir = *configFileData.LibDir
if absPath, err := filepath.Abs(libDir); err == nil {
libDir = absPath
} else {
return err
}
} Tested and confirmed this works well. |
Signed-off-by: François Samin <[email protected]>
4b6edeb
to
347e4d6
Compare
CDS Report build-venom-a#1113.0 ✘
|
Kudos, SonarCloud Quality Gate passed! |
CDS Report build-venom-a#15.0 ■
|
1 similar comment
CDS Report build-venom-a#15.0 ■
|
* fix(http): preserve BodyFile absolute path Signed-off-by: François Samin <[email protected]> Signed-off-by: Ivan Velasco <[email protected]>
Signed-off-by: François Samin [email protected]