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

PXP-7597 Fix outdated jQuery #882

Merged
merged 5 commits into from
Mar 12, 2021
Merged

PXP-7597 Fix outdated jQuery #882

merged 5 commits into from
Mar 12, 2021

Conversation

mfshao
Copy link
Contributor

@mfshao mfshao commented Mar 10, 2021

This PR fulfills https://ctds-planx.atlassian.net/browse/PXP-7597

An Outdated jQuery Library vulnerability has been identified by PenTest

Removed some jQuery and Bootstrap import if not needed. Also migrated jQuery in need from 1.11.3 to 3.6.0

Deployed and tested in https://qa-mickey.planx-pla.net

Improvements

  • bump up jQuery for remediating Outdated jQuery Library vulnerability

@github-actions
Copy link

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

@coveralls
Copy link

coveralls commented Mar 10, 2021

Pull Request Test Coverage Report for Build 10556

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 69.532%

Totals Coverage Status
Change from base Build 10537: 0.0%
Covered Lines: 5719
Relevant Lines: 8225

💛 - Coveralls

Copy link
Contributor

@vpsx vpsx left a comment

Choose a reason for hiding this comment

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

LGTM~

@mfshao mfshao marked this pull request as draft March 12, 2021 00:31
<link rel="stylesheet" href="/api/static/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="/api/static/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

obviously I have to use this otherwise the fetch for jquery hosted lib will be blocked by 🦑

@mfshao mfshao marked this pull request as ready for review March 12, 2021 15:26
@mfshao mfshao merged commit c8a3786 into master Mar 12, 2021
@mfshao mfshao deleted the fix/pentest branch March 12, 2021 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants