Page MenuHomeDevCentral

Provide URL
ClosedPublic

Authored by dereckson on Mar 11 2020, 23:20.
Tags
None
Referenced Files
F2839652: D2282.diff
Mon, Apr 22, 17:01
Unknown Object (File)
Fri, Apr 19, 10:01
Unknown Object (File)
Thu, Apr 18, 18:41
Unknown Object (File)
Mon, Apr 15, 02:23
Unknown Object (File)
Sun, Apr 14, 20:48
Unknown Object (File)
Sat, Apr 13, 23:50
Unknown Object (File)
Sat, Apr 13, 17:09
Unknown Object (File)
Tue, Apr 9, 05:00
Subscribers
None

Details

Summary

Context

The core.php or config.php files in Xen and Pluton tend to provide
the ability to build URLs relative to the server.

To help to do so, we provide an URL class implementation with
understanding of protocol, domain and query part.

Implementation

IDN are supported.

By default, queries are encoded excepted for / ~ . - _ characters.

OmniArray and OmniString

This change introduces OO-variants of map, implode, explode
to handle the "encode everything excepted slashes" task.

Test Plan

Unit tests provided

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Proper URL implementation with unit tests

This revision is now accepted and ready to land.Mar 16 2020, 01:24
dereckson retitled this revision from WIP: URL to Provide URL.Mar 16 2020, 01:25
dereckson edited the summary of this revision. (Show Details)
dereckson edited the summary of this revision. (Show Details)
This revision was landed with ongoing or failed builds.Mar 16 2020, 01:26
Closed by commit rKOT230faccc628f: Provide URL (authored by dereckson). · Explain Why
This revision was automatically updated to reflect the committed changes.