ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 上传图片的时候遇到错误

Open
#5,962 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 📦 部署方式

Docker

### 📌 软件版本

2.15.8

### 💻 系统环境

macOS

### 📌 系统版本

15.1.1 (24B2091)

### 🌐 浏览器

Safari

### 📌 浏览器版本

18.1.1 (20619.2.8.11.12)

### 🐛 问题描述

Unhandled Promise Rejection: TypeError: FetchEvent.respondWith received an error: TypeError: undefined is not an object (evaluating 'file.name.split')

### 📷 复现步骤

上传图片无效,在控制台里查看报错情况,出现上述报错内容。

补充:疑似为中文名文件会出现上述错误。

### 🚦 期望结果

_No response_

### 📝 补充信息

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.