Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # function-url-scheme-disallowed-list
  2. Specify a list of disallowed URL schemes.
  3. <!-- prettier-ignore -->
  4. ```css
  5. a { background-image: url('http://www.example.com/file.jpg'); }
  6. /** ↑
  7. * This URL scheme */
  8. ```
  9. A [URL scheme](https://url.spec.whatwg.org/#syntax-url-scheme) consists of alphanumeric, `+`, `-`, and `.` characters. It can appear at the start of a URL and is followed by `:`.
  10. This rule ignores:
  11. - URL arguments without an existing URL scheme
  12. - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`)
  13. ## Options
  14. `array|string|regex`: `["array", "of", /schemes/ or "/regex/"]|"scheme"|/regex/`
  15. Given:
  16. ```
  17. ["ftp", "/^http/"]
  18. ```
  19. The following patterns are considered violations:
  20. <!-- prettier-ignore -->
  21. ```css
  22. a { background-image: url('ftp://www.example.com/file.jpg'); }
  23. ```
  24. <!-- prettier-ignore -->
  25. ```css
  26. a { background-image: url('http://www.example.com/file.jpg'); }
  27. ```
  28. <!-- prettier-ignore -->
  29. ```css
  30. a { background-image: url('https://www.example.com/file.jpg'); }
  31. ```
  32. The following patterns are _not_ considered violations:
  33. <!-- prettier-ignore -->
  34. ```css
  35. a { background-image: url('data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs='); }
  36. ```
  37. <!-- prettier-ignore -->
  38. ```css
  39. a { background-image: url('example.com/file.jpg'); }
  40. ```
  41. <!-- prettier-ignore -->
  42. ```css
  43. a { background-image: url('/example.com/file.jpg'); }
  44. ```
  45. <!-- prettier-ignore -->
  46. ```css
  47. a { background-image: url('//example.com/file.jpg'); }
  48. ```
  49. <!-- prettier-ignore -->
  50. ```css
  51. a { background-image: url('./path/to/file.jpg'); }
  52. ```