fishjam-dev / fishjam

General purpose media server. Supports WebRTC, HLS, RTSP, SIP
https://fishjam-dev.github.io/fishjam-docs/
Apache License 2.0
197 stars 10 forks source link

Prevent from accessing unauthorized files #127

Closed Karolk99 closed 8 months ago

Karolk99 commented 9 months ago

Acknowledging the stipulations set forth:

codecov[bot] commented 9 months ago

Codecov Report

Merging #127 (66e8378) into main (9d8670d) will increase coverage by 0.23%. Report is 2 commits behind head on main. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #127 +/- ## ========================================== + Coverage 86.18% 86.42% +0.23% ========================================== Files 54 55 +1 Lines 992 1009 +17 ========================================== + Hits 855 872 +17 Misses 137 137 ``` | [Files](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev) | Coverage Δ | | |---|---|---| | [lib/jellyfish/component/hls/recording.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaC9jb21wb25lbnQvaGxzL3JlY29yZGluZy5leA==) | `89.47% <100.00%> (+4.85%)` | :arrow_up: | | [lib/jellyfish/component/hls/request\_handler.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaC9jb21wb25lbnQvaGxzL3JlcXVlc3RfaGFuZGxlci5leA==) | `91.89% <100.00%> (+0.58%)` | :arrow_up: | | [lib/jellyfish/utils/parser\_json.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaC91dGlscy9wYXJzZXJfanNvbi5leA==) | `100.00% <ø> (ø)` | | | [lib/jellyfish/utils/path\_validation.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaC91dGlscy9wYXRoX3ZhbGlkYXRpb24uZXg=) | `100.00% <100.00%> (ø)` | | | [lib/jellyfish\_web/controllers/component\_json.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvY29tcG9uZW50X2pzb24uZXg=) | `100.00% <100.00%> (ø)` | | | [lib/jellyfish\_web/controllers/hls\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvaGxzX2NvbnRyb2xsZXIuZXg=) | `90.47% <100.00%> (+0.47%)` | :arrow_up: | | [.../jellyfish\_web/controllers/recording\_controller.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvcmVjb3JkaW5nX2NvbnRyb2xsZXIuZXg=) | `88.88% <100.00%> (+2.22%)` | :arrow_up: | | [lib/jellyfish\_web/controllers/room\_json.ex](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev#diff-bGliL2plbGx5ZmlzaF93ZWIvY29udHJvbGxlcnMvcm9vbV9qc29uLmV4) | `100.00% <100.00%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). Last update [9d8670d...66e8378](https://app.codecov.io/gh/jellyfish-dev/jellyfish/pull/127?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jellyfish-dev).