aldrinbaroi / mediawiki-page-attachment

Automatically exported from code.google.com/p/mediawiki-page-attachment
Other
1 stars 1 forks source link

Read file locally rather than via HTTP #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I used PageAttachment fine in my test environment but when I rolled it out in 
production I ran into a severe problem as the host does not allow the web site 
to download files via http from itself... which is exactly what PageAttachment 
does.

Can you read the file locally or simply redirect the download request to the 
File:... page or something?

Original issue reported on code.google.com by t...@cyrius.com on 11 Apr 2013 at 11:23

GoogleCodeExporter commented 9 years ago
Hi tbm:

The code can be updated to use local file access and then steam it.

I would rather not update the code to do a simple redirect as that opens up a 
hole that would allow malicious/inconsiderate people to steal bandwidth.

Sincerely yours,

Aldrin

Original comment by Aldrin.Baroi@gmail.com on 12 Apr 2013 at 6:10

GoogleCodeExporter commented 9 years ago
> The code can be updated to use local file access and then steam it.

That would be excellent.  Do you think you'll have time to implement this in 
the near future?

Thanks for your speedy responses, btw!

Original comment by t...@cyrius.com on 12 Apr 2013 at 9:15

GoogleCodeExporter commented 9 years ago
Hi tbm:

Updating code to handle different type of repositories.  See issue# 75.

Sincerely yours,

Aldrin

Original comment by Aldrin.Baroi@gmail.com on 15 May 2013 at 6:46

GoogleCodeExporter commented 9 years ago

Original comment by Aldrin.Baroi@gmail.com on 15 May 2013 at 6:47

GoogleCodeExporter commented 9 years ago
Thanks for working on this!

Original comment by t...@cyrius.com on 15 May 2013 at 7:49

GoogleCodeExporter commented 9 years ago
Let me know when you have an initial patch and I'm happy to test it.

Original comment by t...@cyrius.com on 15 May 2013 at 7:50

GoogleCodeExporter commented 9 years ago
Hi tbm:

Local access is being handled in the new code being develop (See Issue# 75) and 
this code will not be fixed and will be removed in the next release.

The code need a little clean and will be checking it over the coming weekend.

Aldrin

Original comment by Aldrin.Baroi@gmail.com on 14 Aug 2013 at 8:30