Forward fit router UI security fixes#25206
Conversation
a0ecb46 to
b9166ec
Compare
|
IMO, we should instead try to refactor the router UI components into |
This is a good idea. We will likely still need some router specific UI components though. @ShahimSharafudeen can you weigh in on this? |
|
This is a good idea, especially from a security perspective. Through this refactoring, we can reduce security vulnerability issues in common dependencies by using the same base code in both UIs. |
b9166ec to
c99acd8
Compare
Co-authored-by: a-alosaimi <a.alosaimi@ibm.com>
c99acd8 to
c17cadb
Compare
|
Going to move forward with this PR to quickly patch whitesource errors |
| <link href="assets/presto.css" rel="stylesheet"> | ||
|
|
||
| <!-- Bootstrap JS --> | ||
| <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script> |
There was a problem hiding this comment.
Its a little non-obvious that we went from bootstrap 3.3.5 to 5.3.3. Can we add the version number we use in the comment on L42 ?
| rhash = /#.*$/, | ||
| rantiCache = /([?&])_=[^&]*/, | ||
| rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, | ||
| rheaders = /^([^\n\r:]*):[ \t]*([^\r\n]*)$/mg |
There was a problem hiding this comment.
nit: this seem like a unrelated change ?
| "@babel/preset-env": "^7.24.5", | ||
| "@babel/preset-flow": "^7.24.1", | ||
| "@babel/preset-react": "^7.24.1", | ||
| "babel-core": "^5.8.38", |
There was a problem hiding this comment.
Does it matter that we moved to a lower level of babel-core ?
aaneja
left a comment
There was a problem hiding this comment.
Changes LGTM. Since we don't have UI based tests, it would be good to post a before and after screenshots/ gifs of basic functionality as a smoke test
- update deps in the package.json - add css files and font files - update index.html to remove unnecessary code Signed-off-by: Yihong Wang <yh.wang@ibm.com>
aaneja
left a comment
There was a problem hiding this comment.
LGTM. Basing this on screenshots reviewed, and a basic look at the upgraded dep versions


Description
Forward fit changes to the router ui from IBM's internal repo. These changes were introduced to patch security vulnerabilities
For folks with access to IBM's internal repo, here is the list of patches:
https://github.ibm.com/lakehouse/presto/security/dependabot?q=is%3Aclosed
Motivation and Context
Impact
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.