Homec4science

Endpoint+controller for a remarkup image proxy

Authored by Josh Cox <joshcox@uberatc.com> on Sep 21 2016, 01:29.

Description

Endpoint+controller for a remarkup image proxy

Summary:
Ref T4190. Currently only have the endpoint and controller working. I added caching so subsequent attempts to proxy the same image should result in the same redirect URL. Still need to:

  • Write a remarkup rule that uses the endpoint

Test Plan: Hit /file/imageproxy/?uri=http://i.imgur.com/nTvVrYN.jpg and are served the picture

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley, yelirekim

Maniphest Tasks: T4190

Differential Revision: https://secure.phabricator.com/D16581

Details

Committed
Josh Cox <joshcox@uberatc.com>Sep 23 2016, 16:28
Pushed
aubortJan 31 2017, 17:16
Parents
rPH01afa791ab00: Don't lock subscription in PhameBlog
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cox <joshcox@uberatc.com> committed rPHeea540c5e462: Endpoint+controller for a remarkup image proxy (authored by Josh Cox <joshcox@uberatc.com>).Sep 23 2016, 16:28