Comments (5)
Caused by spaces in image url. Kramdown doesn't urlencode them in its document tree.
from openstreetmap-website.
If it would help, I can edit it to see if that "fixes" anything - I'll not do that yet though.
from openstreetmap-website.
Log from production:
[ZmcC5886Iahkww7zrNg8dgAAJy0] Started GET "/user/SomeoneElse/diary/404191" for xxx at 2024-06-10 13:43:03 +0000
[ZmcC5886Iahkww7zrNg8dgAAJy0] Processing by DiaryEntriesController#show as HTML
[ZmcC5886Iahkww7zrNg8dgAAJy0] Parameters: {"display_name"=>"SomeoneElse", "id"=>"404191"}
[ZmcC5886Iahkww7zrNg8dgAAJy0] Rendered layout layouts/site.html.erb (Duration: 89.8ms | Allocations: 23500)
[ZmcC5886Iahkww7zrNg8dgAAJy0] Completed 500 Internal Server Error in 129ms (Allocations: 32521)
[ZmcC5886Iahkww7zrNg8dgAAJy0]
[ZmcC5886Iahkww7zrNg8dgAAJy0] ActionView::Template::Error (bad URI(is not URI?): "https://map.atownsend.org.uk/tmp/Screenshot 2024-05-29 224839.png"):
[ZmcC5886Iahkww7zrNg8dgAAJy0] 21: <% end -%>
[ZmcC5886Iahkww7zrNg8dgAAJy0] 22: <%= tag.link :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => asset_path("osm.xml") %>
[ZmcC5886Iahkww7zrNg8dgAAJy0] 23: <%= tag.meta :name => "description", :content => "OpenStreetMap is the free wiki world map." %>
[ZmcC5886Iahkww7zrNg8dgAAJy0] 24: <%= opengraph_tags(@title, @og_image) %>
[ZmcC5886Iahkww7zrNg8dgAAJy0] 25: <% if flash[:matomo_goal] -%>
[ZmcC5886Iahkww7zrNg8dgAAJy0] 26: <%= tag.meta :name => "matomo-goal", :content => flash[:matomo_goal] %>
[ZmcC5886Iahkww7zrNg8dgAAJy0] 27: <% end -%>
[ZmcC5886Iahkww7zrNg8dgAAJy0]
[ZmcC5886Iahkww7zrNg8dgAAJy0] app/helpers/open_graph_helper.rb:7:in `opengraph_tags'
[ZmcC5886Iahkww7zrNg8dgAAJy0] app/views/layouts/_meta.html.erb:24
[ZmcC5886Iahkww7zrNg8dgAAJy0] app/views/layouts/_head.html.erb:11
[ZmcC5886Iahkww7zrNg8dgAAJy0] app/views/layouts/_head.html.erb:1
[ZmcC5886Iahkww7zrNg8dgAAJy0] app/views/layouts/site.html.erb:3
[ZmcC5886Iahkww7zrNg8dgAAJy0] config/initializers/compressed_requests.rb:27:in `call'
[ZmcC5886Iahkww7zrNg8dgAAJy0] config/initializers/cors.rb:9:in `call'
[ZmcC5886Iahkww7zrNg8dgAAJy0] Processing by ErrorsController#internal_server_error as HTML
[ZmcC5886Iahkww7zrNg8dgAAJy0] Parameters: {"display_name"=>"SomeoneElse", "id"=>"404191"}
[ZmcC5886Iahkww7zrNg8dgAAJy0] Rendered layout layouts/error.html.erb (Duration: 4.5ms | Allocations: 1996)
[ZmcC5886Iahkww7zrNg8dgAAJy0] Completed 500 Internal Server Error in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms | Allocations: 2761)
from openstreetmap-website.
Dear @deevroman ,
Perhaps you could try to edit it and replace ' ' (space characters) with %20 (in above case URL should be https://map.atownsend.org.uk/tmp/Screenshot%202024-05-29%20224839.png) as a temporary workaround?
Thanks,
Nenad.
from openstreetmap-website.
I''v taken the spaces out.
from openstreetmap-website.
Related Issues (20)
- PUT /api/0.6/gpx/:id causes HTTP 500 Internal Server Error HOT 3
- Add original note in note reply email HOT 7
- GPS trace tiles do not load HOT 2
- Minimum/maximum supported URL length for API queries is not documented (or guaranteed fwiw), provide it via capabilities call HOT 7
- Wikipedia links with question mark HOT 2
- Address of building:part is not shown HOT 3
- Refactor usage of check_api_readable/writable HOT 2
- Refactor api_call_* filters HOT 2
- Netherlands contributor URL on Copyright page no longer valid HOT 2
- Indicate when a changrset comment is added by a moderator. HOT 4
- Note resolved email notifications are failing to return address HOT 5
- Prevent page change when writing messages HOT 7
- Phantom street appears at particular zoom levels HOT 2
- Add Bezier Curves HOT 3
- Set bounding box size limits based on surface dimensions HOT 6
- Automate some code review comments HOT 2
- Wikimedia Commons links with question mark
- Split actions from "lists" in user profile page
- Mobile: Hidden close history tab button HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap-website.