[README.md/compiler.php] name field (containing " - ") isn't handled correctly
Opened this issue · 1 comments
Deleted user commented
JSON:
- data/00-general/articles/0002-hashing-security.json
- data/00-general/books/0018-security-engineering.json
- data/00-general/websites/00-blogs/0002-nccgroup.json
- data/00-general/websites/02-tools/0003-report-uri.json
- data/Go/articles/0001-cryptolosophy-memory-security.json
- data/Node.js/articles/0001-risingstack-checklist.json
Examples: NOK(broken link)
- https://github.com/paragonie/awesome-appsec#security-engineering-second-edition-2008
- https://github.com/paragonie/awesome-appsec#security-engineering---second-edition-2008
- https://github.com/paragonie/awesome-appsec#ncc-group-blog
- https://github.com/paragonie/awesome-appsec#ncc-group---blog
- https://github.com/paragonie/awesome-appsec#report-uri-io
- https://github.com/paragonie/awesome-appsec#report-uriio
- https://github.com/paragonie/awesome-appsec#memory-security-in-go-cryptolosophy-io-2017
- https://github.com/paragonie/awesome-appsec#memory-security-in-go---cryptolosophyio-2017
- https://github.com/paragonie/awesome-appsec#node-js-security-checklist-rising-stack-blog-2015
- https://github.com/paragonie/awesome-appsec#nodejs-security-checklist---rising-stack-blog-2015
JSON:
- data/00-general/articles/0005-crypto-unicorns.json
- data/00-general/websites/0005-news-feeds.json
- data/00-general/books/0020-holistic-info-sec-for-web-developers-f0.json
- data/00-general/books/0021-holistic-info-sec-for-web-developers-f1.json
Examples: OK
- https://github.com/paragonie/awesome-appsec#be-wary-of-one-time-pads-and-other-crypto-unicorns-2015
- https://github.com/paragonie/awesome-appsec#security-news-feeds-cheat-sheet
- https://github.com/paragonie/awesome-appsec#holistic-info-sec-for-web-developers-fascicle-0-2016
- https://github.com/paragonie/awesome-appsec#holistic-info-sec-for-web-developers-fascicle-1
Workaround: Add this snippet or similar task between lines 237/238 (suggestion).
src/Util.php
if (\array_key_exists('name', $fd)) {
if (isset($fd['name'])) {
$fd['name'] = preg_replace('/\-/', ' ', $fd['name']);
}
Deleted user commented
Meanwhile, this won't fix the broken link.