iancampelo / windows-package-manager

Automatically exported from code.google.com/p/windows-package-manager
0 stars 0 forks source link

Reject text/* mime type when downloading files #380

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently Npackd accepts every mime type when downloading files. This causes 
problems if you have a stupid provider like "Deutsche Telekom AG" who have dns 
servers that reply with their own server address for any host that does not 
exist.

So if Npackd tries to load a file from an host that cannot be resolved, it does 
not see this but instead gets a "navigation help" page from the provider, saves 
this file, tries to execute it and even displays the installation as "ok". From 
that point on it thinks the application was installed correctly and it cannot 
be removed via "Uninstall" but only be deleting the corresponding directory in 
the Program Files directory.

This could be detected if Npackd rejects downloads that have a text/* mime type 
since the valid choices should be binary files.

Original issue reported on code.google.com by theorigi...@gmail.com on 25 Aug 2014 at 8:57

GoogleCodeExporter commented 8 years ago

Original comment by tim.lebe...@gmail.com on 26 Aug 2014 at 8:45

GoogleCodeExporter commented 8 years ago

Original comment by tim.lebe...@gmail.com on 30 Aug 2014 at 8:08

GoogleCodeExporter commented 8 years ago

Original comment by tim.lebe...@gmail.com on 30 Aug 2014 at 8:08

GoogleCodeExporter commented 8 years ago
a week ago a repository for Vim plugins was created: 
https://code.google.com/p/windows-package-manager/#vim.org_repository_for_Vim_pl
ugins . Many scripts are just text files.

Additionally most packages have an cryptographic check sum so those packages 
would be rejected.

Original comment by tim.lebe...@gmail.com on 26 Sep 2014 at 4:12

GoogleCodeExporter commented 8 years ago

Original comment by tim.lebe...@gmail.com on 5 Oct 2014 at 10:35