Re: [openstreetmap/openstreetmap-website] openstreetmap在数据库的中有个表current_nodes中的tile是怎么计算的? (Issue #6098)
Closed #6098 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6098#event-18145909244 You are receiving this because you are subscribed to this thread. Message ID: ___ rai
Re: [openstreetmap/openstreetmap-website] openstreetmap在数据库的中有个表current_nodes中的tile是怎么计算的? (Issue #6098)
mmd-osm left a comment (openstreetmap/openstreetmap-website#6098) https://github.com/openstreetmap/openstreetmap-website/blob/4989c1fd8e2245fa9212c879a10630cc159c52da/app/models/concerns/geo_record.rb#L37 -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/open
Re: [openstreetmap/openstreetmap-website] openstreetmap在数据库的中有个表current_nodes中的tile是怎么计算的? (Issue #6098)
tomhughes left a comment (openstreetmap/openstreetmap-website#6098) Translation: > In the database of openstreetmap, there is a table called current_nodes. How > are tiles calculated? > > When I put my own data into the corresponding table, I found that the title > kept saying it was wrong, so
[openstreetmap/openstreetmap-website] openstreetmap在数据库的中有个表current_nodes中的title是怎么计算的? (Issue #6098)
YyJyyy created an issue (openstreetmap/openstreetmap-website#6098) ### Problem 我在用我的自己的数据放到对应的表里面的时候,发现这个title一直提示不对,所以我想知道咱们这个是怎么进行计算的,然后我按这个计算规则,来转换我的数据, ### Description _No response_ ### Screenshots _No response_ -- Reply to this email directly or view it on GitHub: https://github.com/op
[openstreetmap/openstreetmap-website] Bump eslint from 9.28.0 to 9.29.0 (PR #6097)
Bumps [eslint](https://github.com/eslint/eslint) from 9.28.0 to 9.29.0.tomhughes left a comment (openstreetmap/openstreetmap-website#6096) Right, so everything's working fine then. Without that rails will try and parse it as form encoded data and report an error. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-w
Re: [openstreetmap/openstreetmap-website] HTTP 500/502 when calling `/changeset/create` with percent and unicode symbols in body (Issue #6096)
Closed #6096 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6096#event-18142773871 You are receiving this because you are subscribed to this thread. Message ID: ___ rai
Re: [openstreetmap/openstreetmap-website] HTTP 500/502 when calling `/changeset/create` with percent and unicode symbols in body (Issue #6096)
deevroman left a comment (openstreetmap/openstreetmap-website#6096) Yes, after adding `-H 'Content-Type: application/xml; charset=utf-8'`, the 502 error disappears -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6096#issuecomm
Re: [openstreetmap/openstreetmap-website] HTTP 500/502 when calling `/changeset/create` with percent and unicode symbols in body (Issue #6096)
tomhughes left a comment (openstreetmap/openstreetmap-website#6096) Well not `application/x-www-form-urlencoded` no because you're sending XML not form encoded data. So you want something like `Content-Type: application/xml; charset=utf-8`. -- Reply to this email directly or view it on GitHub:
Re: [openstreetmap/openstreetmap-website] HTTP 500/502 when calling `/changeset/create` with percent and unicode symbols in body (Issue #6096)
deevroman left a comment (openstreetmap/openstreetmap-website#6096) > What about if you actually specify a content type with the correct encoding > information? Are you talking about the `Content-Type: application/x-www-form-urlencoded` header? Initially, I found this problem while making this
Re: [openstreetmap/openstreetmap-website] HTTP 500/502 when calling `/changeset/create` with percent and unicode symbols in body (Issue #6096)
tomhughes left a comment (openstreetmap/openstreetmap-website#6096) Come to that, what encoding does a `\u` escape in your shell use? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6096#issuecomment-2971241886 You are receiving
Re: [openstreetmap/openstreetmap-website] HTTP 500/502 when calling `/changeset/create` with percent and unicode symbols in body (Issue #6096)
tomhughes left a comment (openstreetmap/openstreetmap-website#6096) What about if you actually specify a content type with the correct encoding information? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6096#issuecomment-2971
[openstreetmap/openstreetmap-website] HTTP 500/502 when calling `/changeset/create` with percent and unicode symbols in body (Issue #6096)
deevroman created an issue (openstreetmap/openstreetmap-website#6096) ### URL _No response_ ### How to reproduce the issue? I suspect the error is in incorrect % escaping, however I don't expect HTTP 5xx code ```bash curl 'https://master.apis.dev.openstreetmap.org/api/0.6/changeset/create' \
Re: [openstreetmap/openstreetmap-website] Add social profile links (PR #5439)
@hlfan commented on this pull request. > +# +# Indexes +# +# index_social_links_on_user_id (user_id) +# +# Foreign Keys +# +# fk_rails_... (user_id => users.id) +# + +class SocialLink < ApplicationRecord + belongs_to :user + + validates :url, :format => { :with => %r{\Ahttps?://.+\z}, :mes