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" => "9" ] |
| _stopwatch_token | "ee73be" |
| attachment | App\Entity\AnnouncementAttachment {#666 #announcement: Proxies\__CG__\App\Entity\Announcement {#699 …} #attachment: null #attachmentName: "5fe59a2f135b1362833788.xls" #id: 9 #name: "附件1:中国科学技术大学" } |
| id | "9" |
Request Headers
| Header | Value |
|---|---|
| accept | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" |
| accept-encoding | "gzip, deflate" |
| accept-language | "zh-CN,zh;q=0.9,en;q=0.1" |
| connection | "close" |
| host | "pms.cmet.ustc.edu.cn" |
| user-agent | "Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)" |
| x-forwarded-for | "114.119.135.233" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
| x-real-ip | "114.119.135.233" |
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=1.xls; filename*=utf-8''%E9%99%84%E4%BB%B61%EF%BC%9A%E4%B8%AD%E5%9B%BD%E7%A7%91%E5%AD%A6%E6%8A%80%E6%9C%AF%E5%A4%A7%E5%AD%A6.xls" |
| content-type | "application/octet-stream" |
| date | "Sun, 17 Aug 2025 14:50:59 GMT" |
| expires | -1 |
| pragma | "no-cache" |
| x-debug-token | "e5326e" |
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 | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate" |
| HTTP_ACCEPT_LANGUAGE | "zh-CN,zh;q=0.9,en;q=0.1" |
| HTTP_CONNECTION | "close" |
| HTTP_HOST | "pms.cmet.ustc.edu.cn" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)" |
| HTTP_X_FORWARDED_FOR | "114.119.135.233" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_REAL_IP | "114.119.135.233" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "aKHsUzvvMyW828OkjrEU@gAAAAc" |
| REDIRECT_URL | "/announcement-attachment/download/9" |
| REMOTE_ADDR | "202.38.64.248" |
| REMOTE_PORT | "7220" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1755442259 |
| REQUEST_TIME_FLOAT | 1755442259.9226 |
| REQUEST_URI | "/announcement-attachment/download/9" |
| 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 | "aKHsUzvvMyW828OkjrEU@gAAAAc" |