Homec4science

Properly transform Celerity resource URIs with query strings and anchors

Authored by epriestley <git@epriestley.com> on May 16 2014, 18:27.

Description

Properly transform Celerity resource URIs with query strings and anchors

Summary:
See https://github.com/facebook/phabricator/commit/6a45b7e67091a217a28414cdcc8d02b50875a7d6

These URIs have "?hack=iefix#ieieielol" on them, which the parser doesn't recognize as a known resource, so it errs on the side of caution by not rewriting.

Instead, strip this bit off, attempt to rewrite, then put it back on.

Test Plan: Loaded font-awesome.css locally and saw properly rewritten URIs.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

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

Details

Committed
epriestley <git@epriestley.com>May 16 2014, 18:27
Pushed
aubortJan 31 2017, 17:16
Parents
rPH715bf1fd55c7: Added a popup to both start and end times with Phrequent allowing the user to…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0b4f2c8508c6: Properly transform Celerity resource URIs with query strings and anchors (authored by epriestley <git@epriestley.com>).May 16 2014, 18:27