Commit Graph
21 Commits
Author SHA1 Message Date
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
Timothy Jaeryang Baek 6442871947 refac: profile_image_url optimization 2025-11-20 20:43:59 -05:00
Sine Jespersen 1e9abe6d8c hide image from screen readers 2025-08-21 11:01:57 +02:00
guenhter 196af9eaf7 chore: streamline the URL used for resources like favicon.png 2025-07-09 09:14:51 +02:00
Timothy Jaeryang Baek 185249623b feat: follow ups backend integration 2025-06-03 18:47:49 +04:00
Timothy J. Baek ccbf5a08f3 refac 2024-11-06 02:19:04 -08:00
Timothy J. Baek d1dbb9a3be feat: chat overview 2024-09-17 22:05:19 +02:00
Timothy J. Baek 4a3362f889 fix: help 2024-06-17 11:46:23 -07:00
Timothy J. Baek eb98631ff6 refac 2024-06-17 11:11:54 -07:00
Timothy J. Baek ab271c82ee Update ProfileImage.svelte 2024-05-19 13:24:46 -07:00
Timothy J. Baek 8c64f0627c fix: styling 2024-05-19 07:05:38 -07:00
Timothy J. Baek 1e6ddb2fb3 chore: format 2024-05-18 15:02:47 -07:00
Ido Henri Mamia 27c59d985f Merge branch 'dev' into feat/rtl-layout-chat-support 2024-05-18 13:58:53 +03:00
Timothy J. Baek 5b2369da5d fix: #2332 2024-05-17 10:56:16 -07:00
Ido Henri Mamia e5d574307e Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/rtl-layout-chat-support 2024-05-17 13:04:03 +03:00
Timothy J. Baek 58a13aec7e feat: python code execution 2024-05-16 17:49:28 -10:00
Ido Henri Mamia 34dd32d48f Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/rtl-layout-chat-support 2024-05-17 01:22:46 +03:00
Ido Henri Mamia 3f4eb6caa2 Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/rtl-layout-chat-support 2024-05-17 01:22:23 +03:00
Ido Henri Mamia 2e77ad87cc Make the margin and avatar support both LTR and RTL 2024-05-16 23:29:33 +03:00
Timothy J. Baek 0722e4b690 refac: user message styling 2024-05-14 23:45:27 -10:00
Timothy J. Baek f91a6b63d1 feat: message components refac 2023-12-29 23:03:48 -08:00