Fixes ajax requests when current URL has a trailing slash Closes #27756 See merge request !9010
Attach a file by drag & drop or click to upload