jdel / sspks

A very simple Synology Package Server, reverse engineered from the official Synology package repository and SynoCommunity.
GNU General Public License v3.0
258 stars 64 forks source link

Ignore gzipped SPKs instead of failing #25

Closed mbirth closed 7 years ago

mbirth commented 7 years ago

Gzipped (=bad) SPKs make the whole page fail to load. Instead, they should be just ignored.

jdel commented 7 years ago

I don't know if it's possible but it would be good to be able to catch the PharData exception, and rename the file to .spk.ignored so it is not processed over and over again with page reloads.