#23 Fixes issue #22 and other @license tag parsing problems
Merged by quidam. Opened by gioma1.
gioma1/librejs fix/malformed-license-blocking  into  master

Download 23.patch

This PR refactors the @license tag parsing machinery, making it more readable and maintainable, providing more meaningful "reason" messages and fixing a couple bugs causing unlicensed / non-trivial scripts to be accepted nonetheless, as described by issue #22.

1 new commit added

  • Work-around for StreamFilter bug storing cached script in a way that messes up with encodings later (exacerbated by the license tag fixes).

Pull-Request has been merged by quidam

Metadata