Comments (5)
The same problem occurs when you use a hyperlink (e.g. with "Utility: super effective") like:
https://democert.org/ssvc/#SSVCv2/E:A/X:C/A:Y/V:C/U:S/S:A/M:F/H:H/P:O/2022-05-29T11:11:49Z/&Deployer
While "Utility: efficient" works:
https://democert.org/ssvc/#SSVCv2/E:A/X:C/A:Y/V:C/U:E/S:A/M:F/H:H/P:O/2022-05-29T11:11:49Z/&Deployer
from ssvc.
I've developed a potential solution for this issue by replacing the spaces in the JSON Tree files (I tried it with Deployer-v2.0.0.json
) with underscores and replacing spaces in the clickprocess() function as well. This seems to work quite well..
For the GUI representation I undid the replacement in parse_json(), update_links() and dynamic_mwb().
This way only the nameid looks like "nameid="very_high"
for example.
I can let you know when I'm done.
from ssvc.
Hi @fruehaufm
Appreciate make a PR if you are able to. If not I will get to have this fixed. I think allowing names to contain spaces and UTF-8 support is not something I did. It may be required or a simple umlaut may break it too..
Thanks
Vijay
from ssvc.
Hi @fruehaufm
I think I fixed it using the function safedivname
which ensures any invalid character can still be allowed. As this function already exists, it seems to be best to replace all the raw use of names with this function. The demo site https://democert.org/ssvc/ has the private dev branch which is already installed, so hopefully the bugs are fixed there.
Lines 810 to 818 in 2f5905c
from ssvc.
Great, sounds like a good solution!
from ssvc.
Related Issues (20)
- SSVC Calc: Move buttons for mode and sample CVE to the top HOT 3
- Transform the SSVC calculator frontend to a reusable library HOT 2
- Calculator feedback HOT 1
- Staging sync should also trigger publish on staging site
- Suggested defaults should appear on relevant decision point pages where applicable
- Add suggested polling frequency (aka "shelf life") to decision point pages HOT 1
- Words about CWE in Information Sources are out of date
- Eliminate need for side scrolling of CWE table in `exploitation.md`
- Fix link to English text license from CONTRIBUTING.md
- Inconsistent formatting of `Gathering Info...` sections of Decision Point reference pages
- Coordinator-related decision point reference pages lack contextual descriptive text
- Acuity ramp uses out-of-date Safety Impact decision point in example text
- CVSS v4 Integration Tracker
- Add "initiate incident response" as a decision outcome? HOT 1
- Incorporate NIST 800-40
- The license of the documentation is impractical for any use in any open source software, and other license issues HOT 1
- Mission Impact has legacy option None still in the CSV files of child_trees.
- Revise links to CERT Guide to CVD
- Invalid link for FEMA Federal continuity directive
- The JSON for SSVC "options" splits out keys into individual records HOT 9
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 ssvc.