• Paul Gascou-Vaillancourt's avatar
    Add global isSafeURL utility · 6ca5b19a
    Paul Gascou-Vaillancourt authored
    - Added isSafeURL utility based on prior work in gitlab-ee
    - Also added isAbsoluteOrRootRelative() and getBaseURL() utils,
      needed by isSafeURL
    - Removed URL() fallback because URL() is now polyfilled
    - Updated specs
    6ca5b19a
url_utility.js 4.38 KB