Lack of interest Make proxy extendable

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Lukas W.

Well-known member
Currently, attempting to extend the proxy system will result in a lot of duplicated, bloated code. To implement a new proxy type, one has to:
  • Duplicate the proxy.php file, and modify it to accept and route the new file type
  • Duplicate the proxy subcontainer to be able to forward the whole request to the new controller
  • Duplicate the proxy linker to create new proxy links to the files
  • Duplicate the proxy controller, as the current one doesn't seem to go through the class proxy, to handle the new file type
  • (And for the sake of completeness) Duplicate the on/off option
I know there's hacks and workarounds that probably could result in less duplication, but really, that is not an option either. The whole situation seems less than optimal.

What I'd love to see is an extension to the existing system that allows it to accept arbitrary, 3rd party defined, content types and pass them to the respective proxy handlers to be resolved.
 
Upvote 3
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom