Page MenuHomeDevCentral

Provide URL
ClosedPublic

Authored by dereckson on Mar 11 2020, 23:20.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 10:40
Unknown Object (File)
Tue, Nov 12, 08:33
Unknown Object (File)
Tue, Nov 12, 05:18
Unknown Object (File)
Sun, Nov 10, 06:48
Unknown Object (File)
Fri, Nov 1, 07:45
Unknown Object (File)
Mon, Oct 21, 08:13
Unknown Object (File)
Mon, Oct 21, 07:54
Unknown Object (File)
Sun, Oct 20, 20:09
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.