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

restructure and add new demos #24

Merged
merged 12 commits into from
May 30, 2024
Merged

restructure and add new demos #24

merged 12 commits into from
May 30, 2024

Conversation

jonfriesen
Copy link
Contributor

@jonfriesen jonfriesen commented May 24, 2024

No description provided.

apps/go-geoweather/main.go Fixed Show fixed Hide fixed
@jonfriesen jonfriesen marked this pull request as ready for review May 27, 2024 14:23
public_ip = get_public_ip()

if "Unable to get public IP" in public_ip:
return f"<p>Error: {public_ip}</p>"

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.

location = get_location(public_ip)
if 'error' in location:
return f"<p>Error fetching location data for IP {public_ip}: {location['error']}</p>"

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
apps/python-geoweather/app.py Dismissed Show dismissed Hide dismissed
</body>
</html>
"""
return render_template_string(weather_html)

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
Stack trace information
flows to this location and may be exposed to an external user.
@jonfriesen jonfriesen requested review from tylerflint and marc-barry and removed request for tylerflint May 28, 2024 23:06
@jonfriesen jonfriesen merged commit 8b960ad into main May 30, 2024
5 checks passed
@jonfriesen jonfriesen deleted the jon/new-demos branch May 30, 2024 14:00
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