Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- NetBeans
- JSON
- 이클립스
- File
- javascript
- jquery
- SeLinux
- larravel
- junit
- DB
- CentOS
- laravel
- curl
- error
- php
- 정규식
- properties
- java
- 리눅스
- tomcat
- MySQL
- ajax
- input
- 안드로이드
- Spring
- 와일드카드
- Android
- Linux
- 톰캣
- html
Archives
- Today
- Total
합쭈기 programming
[Laravel] The filename fallback must only contain ASCII characters. 본문
Dev story
[Laravel] The filename fallback must only contain ASCII characters.
innocent_k 2015. 11. 3. 15:08Response::download 시 한글 파일명 에러
이전 된 파일명이 원본 그대로라 문제가 생겼다.
vendor > symfony > http-foundation 에
ResponseHeaderBag 클래스의 makeDisposition 함수에서 문제가 생긴다.
아래의 ascii 파일 이름 검증하는 부분을 주석처리해서 해결.
if (!preg_match('/^[\x20-\x7e]*$/', $filenameFallback)) {
throw new \InvalidArgumentException('The filename fallback must only contain ASCII characters.');
}
'Dev story' 카테고리의 다른 글
| [Laravel] Connection could not be established with host (0) | 2015.11.23 |
|---|---|
| [Laravel] HTTP 301 (0) | 2015.11.06 |
| [NetBeans] configured http proxy will be used only for pure ftp, to avoid problems, do not use any socks proxy (0) | 2015.11.03 |
| [Laravel] pagination 처리 (0) | 2015.10.21 |
| [Laravel] mysql 내장 함수 사용 (0) | 2015.10.21 |