DefaultController :: announcementAttachmentDownload
Request
GET Parameters
No GET parameters
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\DefaultController::announcementAttachmentDownload" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "announcement_attachment_download" |
| _route_params | [ "id" => "99" ] |
| _stopwatch_token | "39067c" |
| attachment | App\Entity\AnnouncementAttachment {#666 #announcement: Proxies\__CG__\App\Entity\Announcement {#699 …} #attachment: null #attachmentName: "68889f16e4e73563484199.pdf" #id: 99 #name: "教字[2025]20号 关于批准2025年度校级本科“十四五”规划教材项目的通知" } |
| id | "99" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip" |
| accept-language | "zh-cn,zh-tw" |
| connection | "close" |
| host | "pms.cmet.ustc.edu.cn" |
| user-agent | "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" |
| x-forwarded-for | "116.179.32.43" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
| x-real-ip | "116.179.32.43" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "private, must-revalidate" |
| content-disposition | "attachment; filename="[2025]20 2025.pdf"; filename*=utf-8''%E6%95%99%E5%AD%97%5B2025%5D20%E5%8F%B7%20%E5%85%B3%E4%BA%8E%E6%89%B9%E5%87%862025%E5%B9%B4%E5%BA%A6%E6%A0%A1%E7%BA%A7%E6%9C%AC%E7%A7%91%E2%80%9C%E5%8D%81%E5%9B%9B%E4%BA%94%E2%80%9D%E8%A7%84%E5%88%92%E6%95%99%E6%9D%90%E9%A1%B9%E7%9B%AE%E7%9A%84%E9%80%9A%E7%9F%A5.pdf" |
| content-type | "application/octet-stream" |
| date | "Thu, 28 Aug 2025 05:06:07 GMT" |
| expires | -1 |
| pragma | "no-cache" |
| x-debug-token | "05d6f0" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_ENV | "dev" |
| APP_SECRET | "2e3ffa8cf43642eb32a6182584438905" |
| BASE_URL | "http://pms.cmet.ustc.edu.cn/" |
| DATABASE_URL | "mysql://root:zwx303.db@127.0.0.1:3306/pms?serverVersion=mariadb-10.1.41" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/home/projects/pms/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/home/projects/pms/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip" |
| HTTP_ACCEPT_LANGUAGE | "zh-cn,zh-tw" |
| HTTP_CONNECTION | "close" |
| HTTP_HOST | "pms.cmet.ustc.edu.cn" |
| HTTP_USER_AGENT | "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" |
| HTTP_X_FORWARDED_FOR | "116.179.32.43" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_REAL_IP | "116.179.32.43" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "aK-jv1@K0pxr4ELN4@jcOgAAAAw" |
| REDIRECT_URL | "/announcement-attachment/download/99" |
| REMOTE_ADDR | "202.38.64.248" |
| REMOTE_PORT | "5532" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1756357567 |
| REQUEST_TIME_FLOAT | 1756357567.9243 |
| REQUEST_URI | "/announcement-attachment/download/99" |
| SCRIPT_FILENAME | "/home/projects/pms/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "202.38.70.183" |
| SERVER_ADMIN | "root@localhost" |
| SERVER_NAME | "pms.cmet.ustc.edu.cn" |
| SERVER_PORT | "80" |
| SERVER_PROTOCOL | "HTTP/1.0" |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache/2.4.6 (CentOS) PHP/7.4.30" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,BASE_URL,DATABASE_URL" |
| UNIQUE_ID | "aK-jv1@K0pxr4ELN4@jcOgAAAAw" |