Merge branch 'master' into v2.0.1

This commit is contained in:
Jackson Dou 2022-12-13 00:03:19 +08:00
commit f154e90369
5 changed files with 37 additions and 4 deletions

7
.editorconfig Normal file
View file

@ -0,0 +1,7 @@
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 300

8
.prettierrc Normal file
View file

@ -0,0 +1,8 @@
{
"eslintIntegration": true,
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 300,
"semi": false
}

View file

@ -1,6 +1,6 @@
# UIISC
An Open Source Management System for MyOwnFreeHost
An Open Source Web Hosting Account and Support Management System for MyOwnFreeHost
* Official Site : [uiisc.com](http://uiisc.com "UIISC")
* Author : [Jackson Dou](https://github.com/jksdou "Jackson Dou")

18
SECURITY.md Normal file
View file

@ -0,0 +1,18 @@
# Security Policy
## Supported Versions
There is the list of supported versions of php to run UIISC
| Version | Supported |
| ------- | ------------------ |
| 8.0.x | :white_check_mark: |
| > 7.4 | :white_check_mark: |
| 7.1.x | :white_check_mark: |
| > 5.6.x | :white_check_mark: |
| < 5.6 | :x: |
## Reporting a Vulnerability
In case of any error the user can report it by sending email to `admin@uiisc.org` or by contacting phone at `+86-021-51351888`.

View file

@ -4,7 +4,7 @@ require __DIR__ . '/core/application.php';
$security_id = $_GET["id"];
header('Content-Type:image/png');
$url = "http://order.uiisc.com/image.php?id=".$security_id."";//图片链接
$url = "http://order.uiisc.com/image.php?id=" . $security_id; //图片链接
$ch = curl_init();
// Cookie:PHPSESSID=121b1127dcded8702c6a1e702c40eca4
curl_setopt($ch, CURLOPT_URL, $url);