URL
property URL: string read;
Example
procedure ScriptEvent(var Value: variant);
begin
{ URL is empty; use the configured authority plus RawPathInfo/Query deliberately. }
if Request <> nil then
Value := Request.RawPathInfo
else
Value := '';
end;
Usage
Always returns an empty string because the Velox WebBroker bridge deliberately maps URL to the application root.
Additional Technical Info
URL is hard-coded to '' by TIdHTTPAppRequest.GetStringVariable; the source describes this as the root, matching its ISAPI-compatibility expectation. It does not return the request target, absolute URI, PathInfo, RawPathInfo, Host or Query.
Empty is therefore the only normal result and does not mean the client targeted an empty URI. Do not use URL for routing, signatures, callback validation, canonical links or redirects.
If a flow must reconstruct an external URL, use trusted deployment configuration for scheme/public authority/base path and combine only validated target components. Request Host/forwarding fields are caller or proxy metadata and the bridge's Host/ServerPort parsers have IPv6 and authority limitations. Avoid reconstructing a value for security checks when the original canonical target is required.
The generic Embarcadero page describes the abstract WebBroker property, not this Indy implementation. Test Request for nil.
External references
Created 2026-07-15