Page MenuHomePhabricator

Correct Aphlict websocket URI construction after PHP8 compatibility changes
ClosedPublic

Authored by epriestley on Mon, Nov 13, 7:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 30, 1:36 AM
Unknown Object (File)
Wed, Nov 29, 11:01 PM
Unknown Object (File)
Sun, Nov 26, 1:05 AM
Unknown Object (File)
Sun, Nov 26, 1:04 AM
Unknown Object (File)
Sun, Nov 26, 1:04 AM
Unknown Object (File)
Thu, Nov 23, 11:23 AM
Unknown Object (File)
Wed, Nov 22, 7:48 PM
Unknown Object (File)
Sat, Nov 18, 10:50 PM
Subscribers
None

Details

Summary

See D21862. Ref T13700. D21862 affected notification server URI generation behavior when a notification server client is configured with:

  1. no "path" argument; and
  2. "cluster.instance" not set.

Condition (1) is not true default, and condition (2) is not true in my local environment, so it was easy for this to slip through the cracks. Apply the change suggested in D21862.

Also fix a couple other string-null issues I caught locally.

Test Plan

Generated notification server URIs under various simulated local conditions (no instance, path set) and everything seemed to be working correctly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable