-
Notifications
You must be signed in to change notification settings - Fork 6
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
🚥💧 ↝ [SSG-69 SSG-64 SSG-78]: New Community Missions, Beginning #Chapter-2 flow #165
Conversation
…failing...about half
…ality that isn't being utilised
… mining handling now included.
…(just not in next, which is kind of the point)
… mission list with increased relevance is in the final stages️
…g missions/achievements
…ining ops for this sprint, preparing for the follow up with the new C2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't get everything done, but some significant milestones were reached and we have a strong plan going forward. Community missions are done, stations are next, transport is also back in play
|
||
// Draw the image onto the canvas | ||
const img = new Image(); | ||
img.src = imageUrl; |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix AI 3 months ago
To fix the problem, we need to ensure that the imageUrl
is properly sanitized before being used. Since URL.createObjectURL(file)
is generally safe, we can add a check to ensure that the file type is an image before creating the URL. This will prevent non-image files from being used, which could potentially contain malicious content.
- Add a check to ensure the uploaded file is an image.
- Only create the object URL if the file type is an image.
-
Copy modified line R21
@@ -20,3 +20,3 @@ | ||
const file = event.target.files?.[0]; | ||
if (file) { | ||
if (file && file.type.startsWith('image/')) { | ||
const url = URL.createObjectURL(file); |
Broad goal - users can travel again ✅, and there's a clear mission group across expeditions and exoplanet colonisation ⏳ (planned). Clear mission goals for each pathway and structure on different location types ⏳. Increased collaboration, communication, item sharing, consensus & surveyor (introduction through missions) and post cards, sharing to posts table (new) and external networks. New design for StarnetLayout
Huly®: STAR_-150