hof 24.4.0-proto-fix-beta → 24.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/controller/base-controller.js +1 -2
- package/package.json +1 -1
- package/wizard/model.js +5 -0
- package/frontend/govuk-template/govuk_template_generated.html +0 -118
- package/sandbox/apps/config-driven-navigation/translations/en/default.json +0 -168
- package/sandbox/apps/sandbox/translations/en/default.json +0 -278
- package/sandbox/apps/task-driven-navigation/translations/en/default.json +0 -161
- package/sandbox/public/css/app.css +0 -11714
- package/sandbox/public/images/govuk-logo.svg +0 -25
- package/sandbox/public/images/icons/icon-caret-left.png +0 -0
- package/sandbox/public/images/icons/icon-complete.png +0 -0
- package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
- package/sandbox/public/js/bundle.js +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
### Security
|
|
4
4
|
- Added always-on prototype pollution protection to block dangerous keys and values in request body, query, and route params.
|
|
5
|
-
- Prototype pollution attempts now return `
|
|
5
|
+
- Prototype pollution attempts now return `403` with `PROTOTYPE_POLLUTION_DETECTED`.
|
|
6
6
|
|
|
7
7
|
## 2026-07-01 Version 24.3.2 (Stable), @meganjohnHO
|
|
8
8
|
|
|
@@ -13,7 +13,6 @@ const sanitisationBlacklistArray = require('../config/sanitisation-rules');
|
|
|
13
13
|
|
|
14
14
|
// Always-on protection against prototype pollution payloads before request data is used by form configuration.
|
|
15
15
|
const defaultPrototypePollutionProtection = {
|
|
16
|
-
enabled: true,
|
|
17
16
|
blockedKeys: ['__proto__', 'prototype', 'constructor'],
|
|
18
17
|
blockedValues: {
|
|
19
18
|
body: ['__proto__'],
|
|
@@ -319,7 +318,7 @@ module.exports = class BaseController extends EventEmitter {
|
|
|
319
318
|
};
|
|
320
319
|
}
|
|
321
320
|
|
|
322
|
-
const blockedValues = new Set(
|
|
321
|
+
const blockedValues = new Set(protection.blockedValues[sourceName] || []);
|
|
323
322
|
if (this.hasBlockedKeyOrValue(source, blockedKeys, blockedValues)) {
|
|
324
323
|
return {
|
|
325
324
|
reason: 'blocked_key_or_value',
|
package/package.json
CHANGED
package/wizard/model.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const Model = require('../model');
|
|
4
|
+
const unsafeSessionModelKeys = new Set(['__proto__', 'prototype', 'constructor']);
|
|
4
5
|
|
|
5
6
|
module.exports = class SessionModel extends Model {
|
|
6
7
|
constructor(props, options) {
|
|
@@ -11,6 +12,10 @@ module.exports = class SessionModel extends Model {
|
|
|
11
12
|
throw new Error('session-model - key must be defined');
|
|
12
13
|
}
|
|
13
14
|
|
|
15
|
+
if (unsafeSessionModelKeys.has(key)) {
|
|
16
|
+
throw new Error('session-model - key must not be __proto__, prototype, or constructor');
|
|
17
|
+
}
|
|
18
|
+
|
|
14
19
|
session[key] = session[key] || {};
|
|
15
20
|
|
|
16
21
|
// include session values on initialized attributes
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!DOCTYPE html>
|
|
3
|
-
<!--[if lt IE 9]><html class="lte-ie8" lang="{{htmlLang}}"><![endif]-->
|
|
4
|
-
<!--[if gt IE 8]><!--><html lang="{{htmlLang}}" class="govuk-template--rebranded"><!--<![endif]-->
|
|
5
|
-
<head>
|
|
6
|
-
<meta charset="utf-8" />
|
|
7
|
-
<title>{{$pageTitle}}{{/pageTitle}}</title>
|
|
8
|
-
{{$head}}{{/head}}
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
10
|
-
<meta name="theme-color" content="#1d70b8">
|
|
11
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
12
|
-
<link rel="icon" sizes="48x48" href="{{govukAssetPath}}rebrand/images/favicon.ico">
|
|
13
|
-
<link rel="icon" sizes="any" href="{{govukAssetPath}}rebrand/images/favicon.svg" type="image/svg+xml">
|
|
14
|
-
<link rel="mask-icon" href="{{govukAssetPath}}rebrand/images/govuk-icon-mask.svg" color="#1d70b8">
|
|
15
|
-
<link rel="apple-touch-icon" href="{{govukAssetPath}}rebrand/images/govuk-icon-180.png">
|
|
16
|
-
<link rel="manifest" href="{{govukAssetPath}}rebrand/manifest.json">
|
|
17
|
-
<meta property="og:image" content="{{govukAssetPath}}rebrand/images/govuk-opengraph-image.png">
|
|
18
|
-
</head>
|
|
19
|
-
|
|
20
|
-
<body class="{{$bodyClasses}}{{/bodyClasses}} govuk-template__body js-enabled" >
|
|
21
|
-
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>document.body.className += ' js-enabled' + ('noModule' in HTMLScriptElement.prototype ? ' govuk-frontend-supported' : '');</script>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<div id="global-cookie-message" class="gem-c-cookie-banner govuk-clearfix" data-module="cookie-banner" role="region" aria-label="cookie banner" data-nosnippet="">
|
|
25
|
-
{{$cookieMessage}}{{/cookieMessage}}
|
|
26
|
-
</div>
|
|
27
|
-
|
|
28
|
-
{{$bodyStart}}{{/bodyStart}}
|
|
29
|
-
|
|
30
|
-
<header role="banner" id="govuk-header" class="{{$headerClass}}{{/headerClass}}">
|
|
31
|
-
<div class="govuk-header__container govuk-width-container">
|
|
32
|
-
|
|
33
|
-
<div class="govuk-header__logo">
|
|
34
|
-
<a href="{{$homepageUrl}}https://www.gov.uk{{/homepageUrl}}" title="{{$logoLinkTitle}}Go to the GOV.UK homepage{{/logoLinkTitle}}" id="logo" class="govuk-header__link govuk-header__link--homepage" target="_blank" data-module="track-click" data-track-category="homeLinkClicked" data-track-action="homeHeader">
|
|
35
|
-
<!--[if gt IE 8]><!-->
|
|
36
|
-
<div id="govuk-header__logo"></div>
|
|
37
|
-
<img src="/public/images/govuk-logo.svg" id="govuk-header__logo" alt="Logo" loading="lazy" />
|
|
38
|
-
<!--<![endif]-->
|
|
39
|
-
<!--[if IE 8]>
|
|
40
|
-
<img src="{{govukAssetPath}}rebrand/images/govuk-logotype-tudor-crown.png" class="govuk-header__logotype-crown-fallback-image" width="32" height="30" alt="">
|
|
41
|
-
<![endif]-->
|
|
42
|
-
</a>
|
|
43
|
-
</div>
|
|
44
|
-
{{$insideHeader}}{{/insideHeader}}
|
|
45
|
-
|
|
46
|
-
{{$propositionHeader}}{{/propositionHeader}}
|
|
47
|
-
</div>
|
|
48
|
-
</header>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
{{$afterHeader}}{{/afterHeader}}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
{{$main}}{{/main}}
|
|
55
|
-
|
|
56
|
-
<footer class="govuk-footer">
|
|
57
|
-
<div class="govuk-width-container">
|
|
58
|
-
<svg
|
|
59
|
-
focusable="false"
|
|
60
|
-
role="presentation"
|
|
61
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
62
|
-
viewBox="0 0 64 60"
|
|
63
|
-
height="30"
|
|
64
|
-
width="32"
|
|
65
|
-
fill="currentcolor" class="govuk-footer__crown">
|
|
66
|
-
<g>
|
|
67
|
-
<circle cx="20" cy="17.6" r="3.7" />
|
|
68
|
-
<circle cx="10.2" cy="23.5" r="3.7" />
|
|
69
|
-
<circle cx="3.7" cy="33.2" r="3.7" />
|
|
70
|
-
<circle cx="31.7" cy="30.6" r="3.7" />
|
|
71
|
-
<circle cx="43.3" cy="17.6" r="3.7" />
|
|
72
|
-
<circle cx="53.2" cy="23.5" r="3.7" />
|
|
73
|
-
<circle cx="59.7" cy="33.2" r="3.7" />
|
|
74
|
-
<circle cx="31.7" cy="30.6" r="3.7" />
|
|
75
|
-
<path d="M33.1,9.8c.2-.1.3-.3.5-.5l4.6,2.4v-6.8l-4.6,1.5c-.1-.2-.3-.3-.5-.5l1.9-5.9h-6.7l1.9,5.9c-.2.1-.3.3-.5.5l-4.6-1.5v6.8l4.6-2.4c.1.2.3.3.5.5l-2.6,8c-.9,2.8,1.2,5.7,4.1,5.7h0c3,0,5.1-2.9,4.1-5.7l-2.6-8ZM37,37.9s-3.4,3.8-4.1,6.1c2.2,0,4.2-.5,6.4-2.8l-.7,8.5c-2-2.8-4.4-4.1-5.7-3.8.1,3.1.5,6.7,5.8,7.2,3.7.3,6.7-1.5,7-3.8.4-2.6-2-4.3-3.7-1.6-1.4-4.5,2.4-6.1,4.9-3.2-1.9-4.5-1.8-7.7,2.4-10.9,3,4,2.6,7.3-1.2,11.1,2.4-1.3,6.2,0,4,4.6-1.2-2.8-3.7-2.2-4.2.2-.3,1.7.7,3.7,3,4.2,1.9.3,4.7-.9,7-5.9-1.3,0-2.4.7-3.9,1.7l2.4-8c.6,2.3,1.4,3.7,2.2,4.5.6-1.6.5-2.8,0-5.3l5,1.8c-2.6,3.6-5.2,8.7-7.3,17.5-7.4-1.1-15.7-1.7-24.5-1.7h0c-8.8,0-17.1.6-24.5,1.7-2.1-8.9-4.7-13.9-7.3-17.5l5-1.8c-.5,2.5-.6,3.7,0,5.3.8-.8,1.6-2.3,2.2-4.5l2.4,8c-1.5-1-2.6-1.7-3.9-1.7,2.3,5,5.2,6.2,7,5.9,2.3-.4,3.3-2.4,3-4.2-.5-2.4-3-3.1-4.2-.2-2.2-4.6,1.6-6,4-4.6-3.7-3.7-4.2-7.1-1.2-11.1,4.2,3.2,4.3,6.4,2.4,10.9,2.5-2.8,6.3-1.3,4.9,3.2-1.8-2.7-4.1-1-3.7,1.6.3,2.3,3.3,4.1,7,3.8,5.4-.5,5.7-4.2,5.8-7.2-1.3-.2-3.7,1-5.7,3.8l-.7-8.5c2.2,2.3,4.2,2.7,6.4,2.8-.7-2.3-4.1-6.1-4.1-6.1h10.6,0Z" />
|
|
76
|
-
</g>
|
|
77
|
-
</svg>
|
|
78
|
-
<div class="govuk-footer__meta">
|
|
79
|
-
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
|
|
80
|
-
<h2 class="govuk-visually-hidden">Support links</h2>
|
|
81
|
-
{{$footerSupportLinks}}{{/footerSupportLinks}}
|
|
82
|
-
<svg
|
|
83
|
-
aria-hidden="true"
|
|
84
|
-
focusable="false"
|
|
85
|
-
class="govuk-footer__licence-logo"
|
|
86
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
87
|
-
viewBox="0 0 483.2 195.7"
|
|
88
|
-
height="17"
|
|
89
|
-
width="41">
|
|
90
|
-
<path
|
|
91
|
-
fill="currentColor"
|
|
92
|
-
d="M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145" />
|
|
93
|
-
</svg>
|
|
94
|
-
<span class="govuk-footer__licence-description">
|
|
95
|
-
{{$licenceMessage}}All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" id="open-government-licence" class="govuk-footer__link" target="_blank" rel="license">Open Government Licence v3.0</a>, except where otherwise stated{{/licenceMessage}}
|
|
96
|
-
</span>
|
|
97
|
-
</div>
|
|
98
|
-
<div class="govuk-footer__meta-item">
|
|
99
|
-
<a
|
|
100
|
-
class="govuk-footer__link govuk-footer__copyright-logo"
|
|
101
|
-
href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">
|
|
102
|
-
{{$crownCopyrightMessage}}© Crown copyright{{/crownCopyrightMessage}}
|
|
103
|
-
</a>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</footer>
|
|
108
|
-
|
|
109
|
-
<div id="global-app-error" class="app-error hidden"></div>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
{{$bodyEnd}}{{/bodyEnd}}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>if (typeof window.GOVUK === 'undefined') document.body.className = document.body.className.replace('js-enabled', '');</script>
|
|
116
|
-
|
|
117
|
-
</body>
|
|
118
|
-
</html>
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buttons": {
|
|
3
|
-
"start": "Start Now",
|
|
4
|
-
"add-another": "Add another"
|
|
5
|
-
},
|
|
6
|
-
"fields": {
|
|
7
|
-
"selected-updates": {
|
|
8
|
-
"legend": "What do you need to change?",
|
|
9
|
-
"hint": "Select all that apply",
|
|
10
|
-
"options": {
|
|
11
|
-
"name": {
|
|
12
|
-
"label": "Name"
|
|
13
|
-
},
|
|
14
|
-
"surname": {
|
|
15
|
-
"label": "Surname"
|
|
16
|
-
},
|
|
17
|
-
"dob": {
|
|
18
|
-
"label": "Date of birth"
|
|
19
|
-
},
|
|
20
|
-
"address": {
|
|
21
|
-
"label": "Address"
|
|
22
|
-
},
|
|
23
|
-
"email": {
|
|
24
|
-
"label": "Email"
|
|
25
|
-
},
|
|
26
|
-
"phone": {
|
|
27
|
-
"label": "Phone"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"name": {
|
|
32
|
-
"label": "Name"
|
|
33
|
-
},
|
|
34
|
-
"surname": {
|
|
35
|
-
"label": "Surname"
|
|
36
|
-
},
|
|
37
|
-
"current-house-number": {
|
|
38
|
-
"label": "House number or name"
|
|
39
|
-
},
|
|
40
|
-
"current-street": {
|
|
41
|
-
"label": "Street"
|
|
42
|
-
},
|
|
43
|
-
"current-townOrCity": {
|
|
44
|
-
"label": "Town or city"
|
|
45
|
-
},
|
|
46
|
-
"current-county": {
|
|
47
|
-
"label": "County (optional)"
|
|
48
|
-
},
|
|
49
|
-
"has-postcode": {
|
|
50
|
-
"legend": "Do you have a postcode for this address?",
|
|
51
|
-
"options": {
|
|
52
|
-
"yes": {
|
|
53
|
-
"label": "Yes"
|
|
54
|
-
},
|
|
55
|
-
"no": {
|
|
56
|
-
"label": "No"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"postcode": {
|
|
61
|
-
"label": "Postcode"
|
|
62
|
-
},
|
|
63
|
-
"dob": {
|
|
64
|
-
"label": "Date of birth"
|
|
65
|
-
},
|
|
66
|
-
"email": {
|
|
67
|
-
"label": "Email address"
|
|
68
|
-
},
|
|
69
|
-
"phone": {
|
|
70
|
-
"label": "Phone number"
|
|
71
|
-
},
|
|
72
|
-
"change-anything-else": {
|
|
73
|
-
"legend": "Do you need to change anything else?",
|
|
74
|
-
"options": {
|
|
75
|
-
"yes": {
|
|
76
|
-
"label": "Yes"
|
|
77
|
-
},
|
|
78
|
-
"no": {
|
|
79
|
-
"label": "No"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"journey": {
|
|
85
|
-
"header": "POC - Config driven navigation",
|
|
86
|
-
"phase": "beta"
|
|
87
|
-
},
|
|
88
|
-
"pages": {
|
|
89
|
-
"surname-summary": {
|
|
90
|
-
"header": "Your previous surnames"
|
|
91
|
-
},
|
|
92
|
-
"address": {
|
|
93
|
-
"header": "What is your home address?"
|
|
94
|
-
},
|
|
95
|
-
"dob": {
|
|
96
|
-
"header": "What is your date of birth?"
|
|
97
|
-
},
|
|
98
|
-
"change-anything-else": {},
|
|
99
|
-
"confirm": {
|
|
100
|
-
"header": "Check your answers",
|
|
101
|
-
"sections": {
|
|
102
|
-
"personalDetails": {
|
|
103
|
-
"header": "Personal details"
|
|
104
|
-
},
|
|
105
|
-
"contactDetails": {
|
|
106
|
-
"header": "Contact details"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"fields": {
|
|
110
|
-
"previoussurnames": {
|
|
111
|
-
"label": "Previous surnames"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"submitted": {
|
|
116
|
-
"header": "Demo complete. If anything looked too smooth, just assume it was highly engineeing luck!",
|
|
117
|
-
"title": "Demo complete"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"validation": {
|
|
121
|
-
"selected-updates": {
|
|
122
|
-
"required": "Select at least one page to continue"
|
|
123
|
-
},
|
|
124
|
-
"name": {
|
|
125
|
-
"required": "Enter a name",
|
|
126
|
-
"maxlength": "Name must be 99 characters or less"
|
|
127
|
-
},
|
|
128
|
-
"surname": {
|
|
129
|
-
"required": "Enter a surname",
|
|
130
|
-
"maxlength": "Surname must be 99 characters or less"
|
|
131
|
-
},
|
|
132
|
-
"current-house-number": {
|
|
133
|
-
"required": "Enter the house number or name",
|
|
134
|
-
"maxlength": "House number or name must be 50 characters or less"
|
|
135
|
-
},
|
|
136
|
-
"current-street": {
|
|
137
|
-
"required": "Enter the street",
|
|
138
|
-
"maxlength": "Street must be 100 characters or less"
|
|
139
|
-
},
|
|
140
|
-
"current-townOrCity": {
|
|
141
|
-
"required": "Enter the town or city",
|
|
142
|
-
"maxlength": "Town or city must be 100 characters or less"
|
|
143
|
-
},
|
|
144
|
-
"current-county": {
|
|
145
|
-
"maxlength": "County must be 100 characters or less"
|
|
146
|
-
},
|
|
147
|
-
"has-postcode": {
|
|
148
|
-
"required": "Select yes if you have a postcode, or no if you do not"
|
|
149
|
-
},
|
|
150
|
-
"postcode": {
|
|
151
|
-
"required": "Enter a UK postcode",
|
|
152
|
-
"postcode": "Enter a real UK postcode"
|
|
153
|
-
},
|
|
154
|
-
"dob": {
|
|
155
|
-
"required": "Enter a date of birth",
|
|
156
|
-
"date": "Enter a date of birth in the correct format",
|
|
157
|
-
"after": "Date of birth must be after 1 January 1900"
|
|
158
|
-
},
|
|
159
|
-
"email": {
|
|
160
|
-
"required": "Enter an email address",
|
|
161
|
-
"email": "Enter an email address in the correct format"
|
|
162
|
-
},
|
|
163
|
-
"phone": {
|
|
164
|
-
"required": "Enter a phone number",
|
|
165
|
-
"internationalPhoneNumber": "Enter a valid phone number"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"errors": {
|
|
3
|
-
"service-unavailable": {
|
|
4
|
-
"contact": "You can email for more information"
|
|
5
|
-
}
|
|
6
|
-
},
|
|
7
|
-
"exit": {
|
|
8
|
-
"header": "You have left this form",
|
|
9
|
-
"title": "You have left this form"
|
|
10
|
-
},
|
|
11
|
-
"fields": {
|
|
12
|
-
"landing-page-radio": {
|
|
13
|
-
"legend": "Which form would you like to explore?",
|
|
14
|
-
"hint": "Choose one of the options below and press continue.",
|
|
15
|
-
"options": {
|
|
16
|
-
"basic-form": {
|
|
17
|
-
"label": "Basic form"
|
|
18
|
-
},
|
|
19
|
-
"complex-form": {
|
|
20
|
-
"label": "Complex form"
|
|
21
|
-
},
|
|
22
|
-
"build-your-own-form": {
|
|
23
|
-
"label": "Build your own form"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"name": {
|
|
28
|
-
"label": "Full name"
|
|
29
|
-
},
|
|
30
|
-
"dateOfBirth": {
|
|
31
|
-
"legend": "What is your date of birth?",
|
|
32
|
-
"hint": "For example, 31 10 1990"
|
|
33
|
-
},
|
|
34
|
-
"building": {
|
|
35
|
-
"label": "Building and street"
|
|
36
|
-
},
|
|
37
|
-
"street": {
|
|
38
|
-
"label": "Address line 2"
|
|
39
|
-
},
|
|
40
|
-
"townOrCity": {
|
|
41
|
-
"label": "Town or city"
|
|
42
|
-
},
|
|
43
|
-
"postcode": {
|
|
44
|
-
"label": "Postcode"
|
|
45
|
-
},
|
|
46
|
-
"incomeTypes": {
|
|
47
|
-
"label": "Sources of income",
|
|
48
|
-
"legend": "Select the options where you receive income from",
|
|
49
|
-
"hint": "Select all options that apply to you.",
|
|
50
|
-
"options": {
|
|
51
|
-
"salary": {
|
|
52
|
-
"label": "Salary"
|
|
53
|
-
},
|
|
54
|
-
"universal_credit": {
|
|
55
|
-
"label": "Universal Credit"
|
|
56
|
-
},
|
|
57
|
-
"child_benefit": {
|
|
58
|
-
"label": "Child Benefit"
|
|
59
|
-
},
|
|
60
|
-
"housing_benefit": {
|
|
61
|
-
"label": "Housing Benefit"
|
|
62
|
-
},
|
|
63
|
-
"other": {
|
|
64
|
-
"label": "Other"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"countryOfHearing": {
|
|
69
|
-
"legend": "What country was the appeal lodged?",
|
|
70
|
-
"options": {
|
|
71
|
-
"englandAndWales": {
|
|
72
|
-
"label": "England and Wales"
|
|
73
|
-
},
|
|
74
|
-
"scotland": {
|
|
75
|
-
"label": "Scotland"
|
|
76
|
-
},
|
|
77
|
-
"northernIreland": {
|
|
78
|
-
"label": "Northern Ireland"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"email": {
|
|
83
|
-
"label": "Email address"
|
|
84
|
-
},
|
|
85
|
-
"phone": {
|
|
86
|
-
"label": "Phone number",
|
|
87
|
-
"hint": "International phone numbers require the international dialling code, for example +33235066182"
|
|
88
|
-
},
|
|
89
|
-
"int-phone-number": {
|
|
90
|
-
"legend": "International phone number"
|
|
91
|
-
},
|
|
92
|
-
"complaintDetails": {
|
|
93
|
-
"label": "Complaint details",
|
|
94
|
-
"hint": "Briefly summarise your complaint. Include anything that can help our investigation."
|
|
95
|
-
},
|
|
96
|
-
"whatHappened": {
|
|
97
|
-
"label": "What happened",
|
|
98
|
-
"hint": "Briefly summarise what happened."
|
|
99
|
-
},
|
|
100
|
-
"countrySelect": {
|
|
101
|
-
"label": "Which country are you based in?",
|
|
102
|
-
"hint": "Start to type the country name and options will appear"
|
|
103
|
-
},
|
|
104
|
-
"appealStages": {
|
|
105
|
-
"label": "Appeal stage",
|
|
106
|
-
"hint": "Choose an appeal stage from the drop down menu",
|
|
107
|
-
"options": {
|
|
108
|
-
"null": "Select..."
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"amountWithUnitSelect": {
|
|
112
|
-
"label": "Amount",
|
|
113
|
-
"amountLabel": "Amount:",
|
|
114
|
-
"unitLabel": "Unit:",
|
|
115
|
-
"options": [
|
|
116
|
-
{
|
|
117
|
-
"null": "Select..."
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"label": "Litres",
|
|
121
|
-
"value": "L"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"label": "Kilograms",
|
|
125
|
-
"value": "KG"
|
|
126
|
-
}
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"journey": {
|
|
131
|
-
"header": "HOF Bootstrap Sandbox Form",
|
|
132
|
-
"serviceName": "HOF Bootstrap Sandbox Form",
|
|
133
|
-
"confirmation": {
|
|
134
|
-
"details": "Your reference number <br><strong>HDJ2123F</strong>"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"pages": {
|
|
138
|
-
"landing-page": {
|
|
139
|
-
"header": "Landing page"
|
|
140
|
-
},
|
|
141
|
-
"build-your-own-form": {
|
|
142
|
-
"title": "Build your own form",
|
|
143
|
-
"subheader": "Access the build your own form guidance link"
|
|
144
|
-
},
|
|
145
|
-
"address": {
|
|
146
|
-
"header": "What is your address in the UK?",
|
|
147
|
-
"intro": "If you have no fixed address, enter an address where we can contact you."
|
|
148
|
-
},
|
|
149
|
-
"name": {
|
|
150
|
-
"header": "What is your full name?"
|
|
151
|
-
},
|
|
152
|
-
"email": {
|
|
153
|
-
"header": "Enter your email address"
|
|
154
|
-
},
|
|
155
|
-
"phone-number": {
|
|
156
|
-
"header": "Enter your phone number"
|
|
157
|
-
},
|
|
158
|
-
"confirm": {
|
|
159
|
-
"header": "Check your answers before submitting your application.",
|
|
160
|
-
"sections": {
|
|
161
|
-
"applicantsDetails": {
|
|
162
|
-
"header": "Applicant's details"
|
|
163
|
-
},
|
|
164
|
-
"address": {
|
|
165
|
-
"header": "Address"
|
|
166
|
-
},
|
|
167
|
-
"income": {
|
|
168
|
-
"header": "Income"
|
|
169
|
-
},
|
|
170
|
-
"appealDetails": {
|
|
171
|
-
"header": "Appeal details"
|
|
172
|
-
},
|
|
173
|
-
"countrySelect": {
|
|
174
|
-
"header": "Country of residence"
|
|
175
|
-
},
|
|
176
|
-
"contactDetails": {
|
|
177
|
-
"header": "Contact details"
|
|
178
|
-
},
|
|
179
|
-
"complaintDetails": {
|
|
180
|
-
"header": "Complaint details"
|
|
181
|
-
},
|
|
182
|
-
"whatHappened": {
|
|
183
|
-
"header": "What happened"
|
|
184
|
-
},
|
|
185
|
-
"amountWithUnitSelect": {
|
|
186
|
-
"header": "Entered amount"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
"confirmation": {
|
|
191
|
-
"title": "Application sent",
|
|
192
|
-
"alert": "Application sent",
|
|
193
|
-
"subheader": "What happens next",
|
|
194
|
-
"content": "We’ll contact you with the decision of your application or if we need more information from you."
|
|
195
|
-
},
|
|
196
|
-
"exit": {
|
|
197
|
-
"message": "We have cleared your information to keep it secure. Your information has not been saved."
|
|
198
|
-
},
|
|
199
|
-
"session-timeout-warning": {
|
|
200
|
-
"dialog-title": "{{^showSaveAndExit}}Your application will close soon{{/showSaveAndExit}}{{#showSaveAndExit}}You will be signed out soon{{/showSaveAndExit}}",
|
|
201
|
-
"dialog-text": "{{^showSaveAndExit}}If that happens, your progress will not be saved.{{/showSaveAndExit}}{{#showSaveAndExit}}Any answers you have saved will not be affected, but your progress on this page will not be saved.{{/showSaveAndExit}}",
|
|
202
|
-
"timeout-continue-button": "{{^showSaveAndExit}}Stay on this page{{/showSaveAndExit}}{{#showSaveAndExit}}Stay signed in{{/showSaveAndExit}}",
|
|
203
|
-
"dialog-exit-link": "{{^showSaveAndExit}}Exit this form{{/showSaveAndExit}}{{#showSaveAndExit}}Sign out{{/showSaveAndExit}}"
|
|
204
|
-
},
|
|
205
|
-
"save-and-exit": {
|
|
206
|
-
"header": "You have been signed out",
|
|
207
|
-
"paragraph-1": "Your form doesn't appear to have been worked on for 30 minutes so we closed it for security.",
|
|
208
|
-
"paragraph-2": "Any answers you saved have not been affected.",
|
|
209
|
-
"paragraph-3": "You can sign back in to your application at any time by returning to the <a href='/' class='govuk-link'>start page</a>."
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"validation": {
|
|
213
|
-
"landing-page-radio": {
|
|
214
|
-
"required": "Select an option below and press continue"
|
|
215
|
-
},
|
|
216
|
-
"name": {
|
|
217
|
-
"default": "Enter your full name"
|
|
218
|
-
},
|
|
219
|
-
"dateOfBirth": {
|
|
220
|
-
"default": "Enter your date of birth in the correct format; for example, 31 10 1990",
|
|
221
|
-
"after": "Enter a date after 1 1 1900",
|
|
222
|
-
"before": "Enter a date that is in the past"
|
|
223
|
-
},
|
|
224
|
-
"building": {
|
|
225
|
-
"default": "Enter details of your building and street"
|
|
226
|
-
},
|
|
227
|
-
"townOrCity": {
|
|
228
|
-
"default": "Enter a town or city",
|
|
229
|
-
"regex": "Enter a town or city without including digits"
|
|
230
|
-
},
|
|
231
|
-
"postcode": {
|
|
232
|
-
"default": "Enter your postcode"
|
|
233
|
-
},
|
|
234
|
-
"incomeTypes": {
|
|
235
|
-
"default": "Select all options that apply to you."
|
|
236
|
-
},
|
|
237
|
-
"countryOfHearing": {
|
|
238
|
-
"default": "Select where the appeal hearing is to be held"
|
|
239
|
-
},
|
|
240
|
-
"countrySelect": {
|
|
241
|
-
"default": "Enter a valid country of residence",
|
|
242
|
-
"required": "Enter your country of residence"
|
|
243
|
-
},
|
|
244
|
-
"email": {
|
|
245
|
-
"default": "Enter your email address in the correct format"
|
|
246
|
-
},
|
|
247
|
-
"phone": {
|
|
248
|
-
"default": "Enter your phone number"
|
|
249
|
-
},
|
|
250
|
-
"int-phone-number": {
|
|
251
|
-
"required": "Enter an international phone number",
|
|
252
|
-
"internationalPhoneNumber": "Enter a valid international phone number"
|
|
253
|
-
},
|
|
254
|
-
"complaintDetails": {
|
|
255
|
-
"default": "Enter details about why you are making a complaint",
|
|
256
|
-
"maxlength": "Keep to the {{maxlength}} character limit"
|
|
257
|
-
},
|
|
258
|
-
"whatHappened": {
|
|
259
|
-
"default": "Enter details about what happened",
|
|
260
|
-
"maxword": "Keep to the {{maxword}} word limit"
|
|
261
|
-
},
|
|
262
|
-
"appealStages": {
|
|
263
|
-
"required": "Select an appeal stage from the list"
|
|
264
|
-
},
|
|
265
|
-
"amountWithUnitSelect": {
|
|
266
|
-
"default": "Enter the amount in the correct format; for example, 10 Litres",
|
|
267
|
-
"alphanum": "The amount must not contain any special characters",
|
|
268
|
-
"required": "Enter an amount and a unit value"
|
|
269
|
-
},
|
|
270
|
-
"amountWithUnitSelect-unit": {
|
|
271
|
-
"default": "A valid value must be selected as the amount unit",
|
|
272
|
-
"required": "A unit must be selected for the amount"
|
|
273
|
-
},
|
|
274
|
-
"amountWithUnitSelect-amount": {
|
|
275
|
-
"required": "An amount must be selected with the unit"
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|