url/url_build_utils library

Functions

buildUri(String base, {String path = '', Map<String, String>? query}) → Uri
Build URL from base + path + query. Strip fragment. Roadmap #170, #173. Only http and https bases are allowed (SSRF safety). Audited: 2026-06-12 11:26 EDT
stripFragment(Uri uri) → Uri
Returns uri with its fragment (#...) removed.