Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensorflow explicit content detection #9

Merged
merged 2 commits into from
Aug 28, 2023
Merged

Tensorflow explicit content detection #9

merged 2 commits into from
Aug 28, 2023

Conversation

bubner
Copy link
Collaborator

@bubner bubner commented Aug 28, 2023

No description provided.

@bubner bubner merged commit fe28313 into prod Aug 28, 2023
2 checks passed
@bubner bubner deleted the experimental branch August 28, 2023 11:56
try {
if (file.type.startsWith("image/")) {
scanTarget = new Image();
scanTarget.src = URL.createObjectURL(file);

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
if (file.type.startsWith("video/")) {
// Must scan over every frame of the video
scanTarget = document.createElement("video");
scanTarget.src = URL.createObjectURL(file);

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit bc538b4):

https://bunyipbellower--pr9-experimental-kigezcws.web.app

(expires Mon, 04 Sep 2023 11:57:28 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 5a5b8c10b89ecc7bf9d11b9e6e33fc954be840fe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant