Skip to content
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

Remove usage of unsecure proxy for now #8442

Merged
merged 1 commit into from Oct 22, 2020

Conversation

alexandrebodin
Copy link
Member

Signed-off-by: Alexandre Bodin bodin.alex@gmail.com

What does it do?

Describe the technical changes you did.

Why is it needed?

Describe the issue you are solving.

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request

@alexandrebodin alexandrebodin requested a review from a team as a code owner October 22, 2020 15:00
@alexandrebodin alexandrebodin added source: core:upload Source is core/upload package issue: security Issue reporting a security problem labels Oct 22, 2020
@alexandrebodin alexandrebodin added this to the 3.2.5 milestone Oct 22, 2020
@alexandrebodin alexandrebodin requested review from Convly and soupette and removed request for a team October 22, 2020 15:01
@@ -85,7 +85,7 @@ const InputModalStepperProvider = ({
const { source } = file;

return axios
.get(`${strapi.backendURL}/${pluginId}/proxy?url=${file.fileURL}`, {
.get(file.fileURL, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need the Authorization headers

soupette
soupette previously approved these changes Oct 22, 2020
Copy link
Contributor

@soupette soupette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
@codecov
Copy link

codecov bot commented Oct 22, 2020

Codecov Report

Merging #8442 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #8442   +/-   ##
=======================================
  Coverage   33.26%   33.26%           
=======================================
  Files        1221     1221           
  Lines       13629    13629           
  Branches     1357     1357           
=======================================
  Hits         4534     4534           
  Misses       8211     8211           
  Partials      884      884           
Flag Coverage Δ
#front 24.71% <0.00%> (ø)
#unit 54.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../src/containers/InputModalStepperProvider/index.js 0.00% <0.00%> (ø)
...-upload/admin/src/containers/ModalStepper/index.js 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b324020...fbf8313. Read the comment docs.

Copy link
Member

@Convly Convly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: security Issue reporting a security problem source: core:upload Source is core/upload package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants