Skip to content

Commit bc646f9

Browse files
authored
Merge pull request #7304 from umbraco/v16/cms/maxquerystringlength-removal
V16 CMS: Removal of `MaxQueryStringLength`
2 parents 53d6fa4 + d3b02aa commit bc646f9

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

14/umbraco-cms/reference/configuration/runtimesettings.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ An example of a configuration could look something like:
2525
}
2626
```
2727

28-
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files.
28+
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files. This only has an effect when hosting with Kestrel. See the [Maximum Upload Size Settings
29+
](./maximumuploadsizesettings.md) article for more information.
2930
- `MaxQueryStringLength` is specified in number of characters. Setting this limits the maximum query string length.
3031
- `Mode` can have three values: `BackofficeDevelopment` (default), `Development`, and `Production`. For more information, see the [Runtime modes](../../fundamentals/setup/server-setup/runtime-modes.md) article.
3132
- `TemporaryFileLifeTime` is specified as a timespan. The default value is one day - `1.00:00:00`.

15/umbraco-cms/reference/configuration/runtimesettings.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ An example of a configuration could look something like:
2525
}
2626
```
2727

28-
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files.
28+
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files. This only has an effect when hosting with Kestrel. See the [Maximum Upload Size Settings
29+
](./maximumuploadsizesettings.md) article for more information.
2930
- `MaxQueryStringLength` is specified in number of characters. Setting this limits the maximum query string length.
3031
- `Mode` can have three values: `BackofficeDevelopment` (default), `Development`, and `Production`. For more information, see the [Runtime modes](../../fundamentals/setup/server-setup/runtime-modes.md) article.
3132
- `TemporaryFileLifeTime` is specified as a timespan. The default value is one day - `1.00:00:00`.
47.3 KB
Loading

16/umbraco-cms/reference/configuration/maximumuploadsizesettings.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,14 @@ To customize this limit, adjust the `maxAllowedContentLength` value in your `web
4949

5050
## Using Kestrel
5151

52-
Kestrel’s runtime settings allow you to configure `MaxRequestLength` and `MaxQueryStringLength`. If you want to upload files larger than 28.6MB, update these values in the `appsettings.json` file.
52+
Kestrel’s runtime settings allow you to configure `MaxRequestLength`. If you want to upload files larger than 28.6MB, update this value in the `appsettings.json` file.
5353

5454
Example configuration:
5555

5656
```json
5757
"Umbraco": {
5858
"CMS": {
5959
"Runtime": {
60-
"MaxQueryStringLength": 90,
6160
"MaxRequestLength": 2000
6261
}
6362
}
@@ -67,7 +66,13 @@ Example configuration:
6766
- `MaxRequestLength` is specified in kilobytes. For example:
6867
- 2000 KB = 2 MB
6968
- 100000 KB = 100 MB
70-
- `MaxQueryStringLength` sets the maximum number of characters in the query string.
69+
70+
You can check the current configuration by inspecting the "System information" output in the Backoffice. You can access it by clicking the logo and then "System information":
71+
72+
<figure>
73+
<img src="images/systeminformation-tempfileconfig.jpg" alt="System Information with Maximum Upload Size Settings">
74+
<caption>System Information with "Max allowed file size" Settings</caption>
75+
</figure>
7176

7277
## External Server Configurations
7378

16/umbraco-cms/reference/configuration/runtimesettings.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ An example of a configuration could look something like:
1616
"Umbraco": {
1717
"CMS": {
1818
"Runtime": {
19-
"MaxQueryStringLength": 90,
2019
"MaxRequestLength": 2048,
2120
"Mode": "BackofficeDevelopment",
2221
"TemporaryFileLifeTime": "1.00:00:00"
@@ -25,7 +24,7 @@ An example of a configuration could look something like:
2524
}
2625
```
2726

28-
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files.
29-
- `MaxQueryStringLength` is specified in number of characters. Setting this limits the maximum query string length.
27+
- `MaxRequestLength` is specified in kilobytes. Setting this limits the request size, including the size of uploaded files. This only has an effect when hosting with Kestrel. See the [Maximum Upload Size Settings
28+
](./maximumuploadsizesettings.md) article for more information.
3029
- `Mode` can have three values: `BackofficeDevelopment` (default), `Development`, and `Production`. For more information, see the [Runtime modes](../../fundamentals/setup/server-setup/runtime-modes.md) article.
3130
- `TemporaryFileLifeTime` is specified as a timespan. The default value is one day - `1.00:00:00`.

0 commit comments

Comments
 (0)