Comments (26)
@materializecss/members
from materialize.
Done in #38
from materialize.
oh man, thanks for continuing the development of materialize 😄
Ehm I have this 2 years old pull request
Should I rewrite this pull request for this fork? 🤔
from materialize.
oh man, thanks for continuing the development of materialize 😄
Thanks, we all try our best to bring it a bit forward in our vailable free time.
Ehm I have this 2 years old pull request
I was not aware of this, good catch.
Should I rewrite this pull request for this fork? 🤔
Yes, this would be great and very helpful.
from materialize.
Yes, this would be great and very helpful.
alright #9 it is 🙌
from materialize.
Dogfalo#5725 was mentioned in the community room.
from materialize.
It's probably worth taking a look at Dogfalo#4391 (Dogfalo#1892) for the next feature release.
from materialize.
Where are we up to regarding the select issue? That's a biggie - has it been raised/solved for the fork?
(The issue is the wrong item being selected on iOS, the fix being to served an entire patched JS file after materialize.js)
from materialize.
Where are we up to regarding the select issue? That's a biggie - has it been raised/solved for the fork?
(The issue is the wrong item being selected on iOS, the fix being to served an entire patched JS file after materialize.js)
hmm I think this is issue #31. There's already a commit Dogfalo@c0da340, but it's not released officially yet.
from materialize.
Correct, Dogfalo@c0da340 should be already in the current code.
from materialize.
I haven't checked, but are the current CVEs resolved on the fork?
They are related to XSS flaws:
- CVE-2019-11002 (
tooltip
component) - CVE-2019-11003 (
autocomplete
component) - CVE-2019-11004 (
toast
component)
from materialize.
are the current CVEs resolved on the fork
Probably not, as fixing these would break many things as I have outlined many times (see the linked GitHub issues in the original repo). Nothing what we will do in a 1.x.x release.
Also the people who reported these findings did not provide valid PoCs that could be used by attackers in valid scenarios.
from materialize.
It's a bit sad that these warnings will continue to spawn on projects that are using Materialize 😕
I just saw the discussion in Dogfalo#6331 and Dogfalo#6286, this explains a lot, but is still a complex subject.
Since this repository is "new", and the package will be new on NPM, maybe the vulnerability won't be registered at all, let's see 🤔
from materialize.
Still, I think input data should be sanitized by default, with a simple option in the components, and user should be able to disable it in case they want to use HTML.
from materialize.
Still, I think input data should be sanitized by default, with a simple option in the components, and user should be able to disable it in case they want to use HTML.
But not in a minor or patch release as this will lead to unexpected consequences like broken code and developers need to be aware of this breaking change then.
We can do that in a 2.0.0 release which deprecates / removes and changes the behavior as you suggest.
But so far: developers should sanitize the data as needed. If you put your $_GET["var"]
in the templates without sanitizing the data, you have a general problem regarding security.
In v1.x we can start adding warnings to the console (and hope that developers see/read them) and mention the deprecation/change in the future.
In general I would also suggest we create a documentation page about this and recommend solutions for sanitizing data with a few examples. How and what you sanitize depends on your implementation and software stack (PHP, JS, Java, ...) and where you retrieve and sanitize it.
from materialize.
Regarding this statement:
I noticed there's no patch version. As @kiere said, some clients don't really like the fact that we use a library with vulnerabilities, and even if I may not care (for a personal project for example), and I don't like enterprises' protocols, well, a project that's blocked because some QA says that "a package is vulnerable" is an issue anyway.
Well, jQuery < 3.x has a few vulnerabilities (like XSS) but you can not patch them without breaking stuff and these versions reached their EOL. That's why I've created https://github.com/DanielRuf/snyk-js-jquery-174006 and https://github.com/DanielRuf/snyk-js-jquery-565129 which are backported patches. And these are used by many like Drupal, WordPress, TYPO3, Magento and so on. Still, the Chrome Lighthouse checks and other solutions will falsly flag them as vulnerable versions. Same for PHP and the different operating systems and companies who backport security patches.
I'm aware that these things (backporting security patches) are not that great for auditors and audits.
Can you open a new issue so we can discuss the correct way (documentation, planned changes, breaking changes) regarding these issues @Pierstoval?
from materialize.
Will do 😄
from materialize.
It would be nice to see Dogfalo#6602 merged. It really should be possible to pass dropdownOptions to any component that uses a Dropdown.
from materialize.
Have you seen PR Dogfalo#6542 / Issue Dogfalo#6273? Would be nice to see materialize keeping up with the MD guidelines
from materialize.
Have you seen PR Dogfalo#6542 / Issue Dogfalo#6273? Would be nice to see materialize keeping up with the MD guidelines
Nope, I didn't see these. Would be great to have them as PRs in this repo.
Do you want to provide them?
from materialize.
Have you seen PR Dogfalo#6542 / Issue Dogfalo#6273? Would be nice to see materialize keeping up with the MD guidelines
Nope, I didn't see these. Would be great to have them as PRs in this repo.
Do you want to provide them?
I've just taken a closer look - and the PR doesn't actually make any changes to the text input scss - rather it's full of random/unrelated changes to the docs afaict. It does have a bunch of CSS in the description but it'd be a pain to diff this against master to see what it's actually changing... bizarre!
from materialize.
I've just taken a closer look - and the PR doesn't actually make any changes to the text input scss - rather it's full of random/unrelated changes to the docs afaict. It does have a bunch of CSS in the description but it'd be a pain to diff this against master to see what it's actually changing... bizarre!
You are correct. I just took a look at the issue and not the PR to see what this was about and thought it would make sense. I didn't check the actual changes of the PR.
from materialize.
Not sure if the comment with the scss code contains the actual changes and the other file changes were done by mistake (probably due to lack of experience with Git and GitHub).
from materialize.
Where are we up to regarding the select issue? That's a biggie - has it been raised/solved for the fork?
(The issue is the wrong item being selected on iOS, the fix being to served an entire patched JS file after materialize.js)hmm I think this is issue #31. There's already a commit Dogfalo/materialize@c0da340, but it's not released officially yet.
Where are things with the DropDown issue on iOS (still present in current release)? There's a solution defined in #31, but it's unclear if it's been tested. Thanks!
from materialize.
Where are things with the DropDown issue on iOS (still present in current release)? There's a solution defined in #31, but it's unclear if it's been tested. Thanks!
Not sure. If there is still a problem with our alpha release, please open a new issue.
Closing this one. Individual PRs that should be migrated should be filed as separate issues, otherwise the issues become too long and crowded. Thank you.
from materialize.
I tested it on iPad and MacBook not sure about iPhone but I assume it would work there too. As @DanielRuf said, please open a new issue an provide details about Safari Version and iPhone. Thanks.
from materialize.
Related Issues (20)
- [Bug]: Textarea not autoresize HOT 4
- [Bug]: Materialize Select auto scroll to top on Safari HOT 2
- [Bug]: Collapsible looks/behaviour changed in version 2.0.3 HOT 1
- .show-on-medium-and-up vs .hide-on-med-and-up HOT 1
- [Bug]: Autocomplete issues HOT 1
- [Bug]: Failed to resolve entry for package "@materializecss/materialize HOT 5
- [Bug]: Clicking on a dropdown trigger twice+ times consecutively causes unexpected results HOT 6
- Creating Components via JavaScript HOT 4
- [Bug]: Dropdown + Window Resize
- Microsoft Defender Antivirus detects "Trojan:Script/Wacatac.H!ml" HOT 8
- [Bug]: Select Options does not overflow cards
- [Bug]: Range input appearance not work on chrome 123, but work on Firefox
- [Bug]: TimePicker is completely broken
- [Bug]: Modal with Fixed Footer Always has Scrollbar HOT 1
- [Bug]: Tonal button seems not presenting HOT 1
- [Bug]: Autocomplete selectOption does nothing HOT 2
- Add "RAIL" material 3 HOT 3
- Marquee Component HOT 1
- Create Theme v2.1.0 HOT 6
- [Bug]: scrollbar appears with modal in 2.1.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialize.