Page MenuHomePhabricator

Inline image rendering broken
Closed, DuplicatePublic

Description

After updating phabricator today, images in comments are not rendered anymore. Clicking them for fullscreen view still works.

Server has no hostname, only IP address, if that is of any concern.
Running on lighttpd, this is what the logs say:

2014-08-19 12:13:32: (mod_fastcgi.c.2695) FastCGI-stderr: [Rendering Exception/Exception] Refusing to redirect to local resource "http://192.168.0.175/file/data/gjyojaltobp2vbhvikio/PHID-FILE-fvtv2hrcb4xcsfsqji3i/preview-SAM_3693.JPG". The URI has a domain, but the redirect is not marked external. Mark redirects as external to allow redirection off the local domain.
2014-08-19 12:13:32: (mod_fastcgi.c.2695) FastCGI-stderr: #0 /usr/local/src/phabricator/src/aphront/response/AphrontRedirectResponse.php(43): AphrontRedirectResponse::getURIForRedirect('http://192.168....', NULL)
2014-08-19 12:13:32: (mod_fastcgi.c.2695) FastCGI-stderr: #1 /usr/local/src/phabricator/src/aphront/sink/AphrontHTTPSink.php(101): AphrontRedirectResponse->getHeaders()
2014-08-19 12:13:32: (mod_fastcgi.c.2695) FastCGI-stderr: #2 /usr/local/src/phabricator/webroot/index.php(126): AphrontHTTPSink->writeResponse(Object(AphrontRedirectResponse))
2014-08-19 12:13:32: (mod_fastcgi.c.2695) FastCGI-stderr: #3 {main}

Event Timeline

timor created this task.Aug 19 2014, 11:37 AM
timor raised the priority of this task from to Needs Triage.
timor updated the task description. (Show Details)
timor added a subscriber: timor.

Maybe related: T5894: Thumbnails of uploaded files broken when not logged in, Although being logged in here does not help.

chad closed this task as a duplicate.Aug 19 2014, 4:20 PM

✘ Merged into T5894.