George Kalpakas
28d33505fd
fix(service-worker): only consider GET requests as navigation requests ( #47263 )
...
Previously, the criteria for determining if a request was a
[navigation request][1] did not account for the request method. This
incorrectly identified HTML form submit POST requests as navigation
requests and served `index.html` instead of passing them through to the
server, thus breaking the form submission.
This commit fixes this by ensuring that only GET requests are considered
navigation requests.
> **Note**
> HTML forms with their method set to `GET` will still be affected by
> the issue. This is not a big concern, because using `GET` for form
> submission is quite uncommon and generally discouraged (due to
> limitations and security considerations).
[1]: https://angular.io/guide/service-worker-config#handling-navigation-requests
Fixes #36368
PR Close #47263
2022-09-06 10:02:11 -07:00
Angular Robot
56304d6b95
build: update io_bazel_rules_sass digest to f3874ae ( #47292 )
...
See associated pull request for more information.
PR Close #47292
2022-09-06 09:59:22 -07:00
Jeremy Elbourn
d8cfb7cbe5
refactor(router): remove unnecesary null ( #47238 )
...
These null values are unused and unecessary. I suspect it's a remnant from when the codebase was transpiled to Dart.
PR Close #47238
2022-09-06 09:57:38 -07:00
Jeremy Elbourn
f4825c7b9d
refactor(common): remove unnecesary null ( #47238 )
...
These null values are unused and unecessary. I suspect it's a remnant from when the codebase was transpiled to Dart.
PR Close #47238
2022-09-06 09:57:38 -07:00
Jeremy Elbourn
e6b6e89163
refactor(animations): remove unnecesary null ( #47238 )
...
These null values are unused and unecessary. I suspect it's a remnant from when the codebase was transpiled to Dart.
PR Close #47238
2022-09-06 09:57:38 -07:00
Jeremy Elbourn
da7dc4670c
refactor(forms): remove unnecesary null ( #47238 )
...
These null values are unused and unecessary. I suspect it's a remnant from when the codebase was transpiled to Dart.
PR Close #47238
2022-09-06 09:57:38 -07:00
jaybell
1875ce520a
fix(common): use DOCUMENT token to query for preconnect links ( #47353 )
...
`PreconnectLinkChecker` checks to see if preconnect links have been added to the `<head>` element but uses `document` directly which does not exist when rendering in Angular Universal. This PR switches the `PreconnectLinkChecker` to use the `DOCUMENT` token instead so that the query works when SSR'ing
PR Close #47353
2022-09-06 09:56:27 -07:00
Kara Erickson
c0d7ac9ec2
fix(common): improve formatting of image warnings ( #47299 )
...
This is a tiny fix to add paragraph breaks in
image distortion warnings to make them a bit
easier to read. With this change, the intrinsic
and rendered image sizes are printed on their
own lines instead of mid-paragraph.
PR Close #47299
2022-09-06 09:55:57 -07:00
Angular Robot
0d337c9ff2
build: update github/codeql-action action to v2.1.22 ( #47223 )
...
See associated pull request for more information.
PR Close #47223
2022-09-06 09:51:56 -07:00
Sabareesh Kappagantu
b7c1d72a61
docs: fix linting errors in component overview guide ( #47352 )
...
PR Close #47352
2022-09-06 09:41:13 -07:00
Sabareesh Kappagantu
844f48ccdb
docs: add substitution entry for camel case ( #47351 )
...
PR Close #47351
2022-09-06 09:40:40 -07:00
Sabareesh Kappagantu
57f13bfe73
docs: fix linting errors in class binding guide ( #47351 )
...
PR Close #47351
2022-09-06 09:40:40 -07:00
Bingo's Code
f11d6ffbb1
docs: apply suggestions from code review ( #47350 )
...
Co-authored-by: Bob Watson <[email protected] >
PR Close #47350
2022-09-06 09:38:33 -07:00
Sabareesh Kappagantu
798a92db91
docs: fix linting errors in architecture components guide ( #47350 )
...
PR Close #47350
2022-09-06 09:38:32 -07:00
Sonu Sindhu
be5180a6e0
docs: formatting issue ( #47349 )
...
There were some formatting issue and I just updated * to & in migration-undecorated-classes.md
PR Close #47349
2022-09-06 09:37:49 -07:00
Sabareesh Kappagantu
200ddce88f
docs: update angular-package-format guide ( #47342 )
...
PR Close #47342
2022-09-06 09:35:39 -07:00
Bingo's Code and Bob Watson
0ba363d5b5
docs: update aio/content/guide/angular-package-format.md with suggestion ( #47342 )
...
Co-authored-by: Bob Watson <[email protected] >
PR Close #47342
2022-09-06 09:35:39 -07:00
Bingo's Code and Bob Watson
5f065441ca
docs: apply suggestions from code review ( #47342 )
...
adding suggestions from Bob.
Co-authored-by: Bob Watson <[email protected] >
PR Close #47342
2022-09-06 09:35:39 -07:00
Sabareesh Kappagantu
55cc287ad5
docs: fix linting errors in angular package format guide ( #47342 )
...
PR Close #47342
2022-09-06 09:35:38 -07:00
Asaf M
0e2d2a576b
docs: fix grammar ( #47333 )
...
there aren't many forms here, the object model belongs to the form, hence the apostroph is needed before the letter s
PR Close #47333
2022-09-06 09:33:15 -07:00
abergquist
a62f3fab45
docs: fixed a "grammatical opportunity" ( #47328 )
...
Since "application design" is being used as an adjective in the following sentence:
Angular is an application design framework and development platform for creating efficient and sophisticated single-page apps.
I recommend replacing it with "application-design" (cf. https://en.wikipedia.org/wiki/Compound_modifier ).
PR Close #47328
2022-09-06 09:32:26 -07:00
Sabareesh Kappagantu
577673dcf7
docs: fix linting errors in change detection guide ( #47324 )
...
PR Close #47324
2022-09-06 09:31:21 -07:00
Simona Cotin
58fd2dccdc
docs: update cloudinary url ( #47320 )
...
PR Close #47320
2022-09-06 09:30:49 -07:00
Aristeidis Bampakos
d10b6f54c7
docs: fix typo in image directive guide ( #47313 )
...
PR Close #47313
2022-09-06 09:30:14 -07:00
Yann Provoost
c5d0da9dce
docs: fix doc linter warnings in app-shell.md ( #47282 )
...
PR Close #47282
2022-09-06 09:24:05 -07:00
Yann Provoost
3f81b2ac33
docs: fix doc linter warning and error in accessibility.md ( #47282 )
...
PR Close #47282
2022-09-06 09:24:04 -07:00
Yann Provoost
24660f6a37
docs: fix doc linter warnings in angular-compiler-options.md ( #47282 )
...
PR Close #47282
2022-09-06 09:24:04 -07:00
George Kalpakas
80155e8605
docs(service-worker): add note regarding assets and CORS ( #47262 )
...
Fixes #41931
PR Close #47262
2022-09-06 09:23:29 -07:00
vyom1611
921ab02b3b
refactor(service-worker): refactored code to remove useless code ( #47255 )
...
- Removes useless code in `generator.ts` and `module.ts` in service-workers
- Uses inline variables to return values from functions
PR Close #47255
2022-09-06 09:15:07 -07:00
vyom1611
5d9f93395c
docs: fixing typos and grammatical errors in several documentation files ( #47254 )
...
- Fixes grammar issues in various markdown files, like the `DEBUG.md` or `DEVELOPER.md`
PR Close #47254
2022-09-06 09:14:25 -07:00