open-webui/src/lib/utils
Classic298 cfd2888545
fix:image url validation and signout post (#24420)
* refac(routers): reject external URLs in profile/model image handlers

* refac(ui): centralize image URL validation in safeImageUrl helper

* refac(auths): make signout POST-only

* refac: gate external profile image redirect behind ENABLE_PROFILE_IMAGE_URL_FORWARDING

Restore the 302 redirect for external http(s) profile image URLs in
the user and model profile-image endpoints, but gate it behind a new
ENABLE_PROFILE_IMAGE_URL_FORWARDING env flag (default: True).

Existing deployments that rely on external profile image forwarding
continue to work unchanged.  Operators who want to suppress the
redirect (to prevent client-side IP/UA/Referer leaks) can set the
flag to False.
2026-05-09 07:33:31 +09:00
..
characters fix(frontend): Attempt to resolve TypeError in RichTextInput.svelte 2025-08-03 22:36:08 -04:00
marked refac 2026-04-13 21:52:19 -05:00
transitions feat: custom model selector 2024-03-24 15:28:36 -07:00
_template_old.ts refac: title generation 2024-06-09 14:25:31 -07:00
audio.ts refac 2026-05-09 04:22:46 +09:00
codeHighlight.ts refac 2026-03-06 20:12:37 -06:00
codemirror.ts fix: fix memory leaking in CodeEditor (#22110) 2026-03-01 15:52:20 -05:00
connections.ts refac 2026-03-23 23:39:52 -05:00
excelToTable.ts refac 2026-03-06 20:12:37 -06:00
google-drive-picker.ts Fix formatting 2024-12-16 15:11:05 -05:00
index.ts refac 2026-05-09 06:56:22 +09:00
onedrive-file-picker.ts refac 2026-04-12 19:13:13 -05:00
pptxToHtml.ts refac 2026-03-06 20:12:37 -06:00
safeImageUrl.ts fix:image url validation and signout post (#24420) 2026-05-09 07:33:31 +09:00
text-scale.ts refac: rm ai slop 2025-11-19 03:51:10 -05:00