Files
libopenshot/include
FeRD (Frank Dana) 76fc1ef571 QtImageReader: Safer ReSVG file extension checks
This changes the type of the private `path` variable to QString
internally (which we were converting it to for a bunch of operations
anyway), and uses QString's more robust string-manipulation and
comparison methods to ensure that only filenames that _end in_ an
.svg/.svgz extension (case-insensitively) are recognized as SVG files.

Previously, a filename such as "Title.svg.png" would be interpreted as
an SVG file.

The change in QString type is purely internal, all of the class's
interfaces remain the same, and accept `std::string path`. We simply
convert it to/from QString at opposite places in the code, now.
2019-08-09 20:50:28 -04:00
..
2019-07-16 12:28:00 -04:00
2019-06-11 06:48:32 -04:00
2019-06-11 06:48:32 -04:00
2019-07-12 13:28:47 -04:00
2019-06-11 06:48:32 -04:00
2019-06-11 06:48:32 -04:00