Home GnuPG

Add `urisprintf()` for encoded printing of URIs
1ffb66347246Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add urisprintf() for encoded printing of URIs

Summary:
Ref T1049. This is primarily to enable us to do a reasonable job of variable replacement in "Request URI" Harbormaster build steps. For example, the user will enter:

http://jenkins.mycompany.com/?diff=${buildable.name}

...which we'll transform to:

http://jenkins.mycompany.com/?diff=%s

...and then build correctly.

Test Plan: Unit tests.

Reviewers: btrahan, hach-que

Reviewed By: hach-que

CC: zeeg, aran

Maniphest Tasks: T1049

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

Details

Provenance
epriestley <git@epriestley.com>Authored on Nov 9 2013, 3:40 AM
Parents
rPHUTIL509703fa2313: Allow using numbers and HTML fragments in translations together
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUTIL1ffb66347246: Add `urisprintf()` for encoded printing of URIs (authored by epriestley <git@epriestley.com>).Nov 9 2013, 3:40 AM