Parse Path — Studio Pro 10.24.17
Fixed
The port attribute was never populated. The parse-path library returns port as a String (empty string when absent), but the entity attribute is an Integer, so the value was assigned without conversion. The action now converts it, and leaves the attribute empty when the address carries no port.
Verified against the bundled library:
| Address | Library returns | Attribute now holds |
|---|---|---|
https://example.com:8443/path |
"8443" (String) |
8443 |
https://example.com/path |
"" (String) |
empty |
notaurl |
"" (String) |
empty |
You no longer need the documented workaround of reading the port out of host.
This defect predates the 10.24.17 upgrade. Upgrading is recommended.
Notes
Studio Pro 10.24.17, imports with 0 errors. Import ParsePath.mpk via App Explorer > Import module package.