paragonie / awesome-appsec

A curated list of resources for learning about application security
https://paragonie.com/projects
MIT License
6.17k stars 730 forks source link

[README.md/compiler.php] name field (containing " - ") isn't handled correctly #54

Closed ghost closed 5 years ago

ghost commented 5 years ago

JSON:

Examples: NOK(broken link)

JSON:

Examples: OK

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']);
        }
ghost commented 5 years ago

Meanwhile, this won't fix the broken link.