Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

icon: SVG images don't load from Windows IIS web server #10074

@willpritchard

Description

@willpritchard

Actual Behavior:

  • What is the issue? * Microsoft IIS 7 returns a 406 (Not acceptable) error for all SVGs used with md-icon. This seems to be caused by an inappropriate header ("Accept: application/json"), being sent by the browser when SVGs are requested using the $templateRequestservice.
  • What is the expected behavior? SVGs should load without errors.

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: N/A
  • Details: Host an app on IIS 7 and load it into a browser (Chrome),, check the console for the errors.

Angular Versions: *

  • Angular Version: 1.5.8
  • Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * 54.0.2840.99
  • OS: * Windows 7
  • Stack Traces:

Metadata

Metadata

Assignees

Labels

P3: importantImportant issues that really should be fixed when possible.resolution: works as expectedThe functionality works as designed and documented.type: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions