File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/resources/handlebars/typescript-angular Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 12
12
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
13
13
*/
14
14
export class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
15
- encodeKey(k: string): string {
15
+ override encodeKey(k: string): string {
16
16
k = super.encodeKey(k);
17
17
return k.replace(/\+/gi, ' %2B' );
18
18
}
19
- encodeValue(v: string): string {
19
+ override encodeValue(v: string): string {
20
20
v = super.encodeValue(v);
21
21
return v.replace(/\+/gi, ' %2B' );
22
22
}
@@ -29,11 +29,11 @@ export class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
29
29
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
30
30
*/
31
31
export class CustomQueryEncoderHelper extends QueryEncoder {
32
- encodeKey(k: string): string {
32
+ override encodeKey(k: string): string {
33
33
k = super.encodeKey(k);
34
34
return k.replace(/\+/gi, ' %2B' );
35
35
}
36
- encodeValue(v: string): string {
36
+ override encodeValue(v: string): string {
37
37
v = super.encodeValue(v);
38
38
return v.replace(/\+/gi, ' %2B' );
39
39
}
You can’t perform that action at this time.
0 commit comments