René's URL Explorer Experiment


Title: [bug] PUT "key<>":[] 居然转成了 key = '[]' · Issue #276 · APIJSON/APIJSON · GitHub

Open Graph Title: [bug] PUT "key<>":[] 居然转成了 key = '[]' · Issue #276 · APIJSON/APIJSON

X Title: [bug] PUT "key<>":[] 居然转成了 key = '[]' · Issue #276 · APIJSON/APIJSON

Description: 应该当成条件来处理 或者 直接返回错误信息。 环境信息 系统: Linux CentOS JDK: 1.8.0_17 数据库: MySQL 5.7.14 APIJSON: 4.7.0 问题描述 http://apijson.cn:8080/put { "Moment": { "id": 15, "praiseUserIdList<>": [ 1 ] }, "tag": "Moment", "@Explain": true } 错误信息 无 目前可以通过加 @combin...

Open Graph Description: 应该当成条件来处理 或者 直接返回错误信息。 环境信息 系统: Linux CentOS JDK: 1.8.0_17 数据库: MySQL 5.7.14 APIJSON: 4.7.0 问题描述 http://apijson.cn:8080/put { "Moment": { "id": 15, "praiseUserIdList<>": [ 1 ] }, "tag": "Moment", "...

X Description: 应该当成条件来处理 或者 直接返回错误信息。 环境信息 系统: Linux CentOS JDK: 1.8.0_17 数据库: MySQL 5.7.14 APIJSON: 4.7.0 问题描述 http://apijson.cn:8080/put { "Moment": { "id": 15, "praiseUserIdList<>...

Opengraph URL: https://github.com/APIJSON/APIJSON/issues/276

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[bug] PUT \"key\u003c>\":[] 居然转成了 key = '[]'","articleBody":"应该当成条件来处理 或者 直接返回错误信息。\r\n\r\n\r\n**环境信息**\r\n - 系统: Linux CentOS\r\n - JDK: 1.8.0_17\r\n - 数据库: MySQL 5.7.14\r\n - APIJSON:  4.7.0\r\n\r\n**问题描述**\r\n\r\n![wecom-temp-f0e2ba60360fce7289b97ee1e727352d](https://user-images.githubusercontent.com/5738175/127596388-99e831d1-4e9e-423c-bbb6-da86afdcab86.png)\r\n\r\nhttp://apijson.cn:8080/put\r\n{\r\n    \"Moment\": {\r\n        \"id\": 15,\r\n        \"praiseUserIdList\u003c>\": [\r\n            1\r\n        ]\r\n    },\r\n    \"tag\": \"Moment\",\r\n    \"@explain\": true\r\n}\r\n\r\n**错误信息**\r\n\r\n无\r\n\r\n\r\n目前可以通过加 @combine 来解决。\r\n![image](https://user-images.githubusercontent.com/5738175/127596924-c7e39989-aaac-4039-8a87-0dfb632b0af6.png)\r\n{\r\n    \"Moment\": {\r\n        \"id\": 15,\r\n        \"content\": \"test\",\r\n        \"praiseUserIdList\u003c>\": [\r\n            82002\r\n        ],\r\n        \"@combine\": \"praiseUserIdList\u003c>\"\r\n    },\r\n    \"tag\": \"Moment\",\r\n    \"@explain\": true\r\n}\r\n\r\n但最好还是在 AbstractObjectParser 中对 key 判断是否为不包含任何符合的 字段名。\r\n![image](https://user-images.githubusercontent.com/5738175/127597202-d057bc72-992b-455b-83bf-6a7fb0911f65.png)\r\n\r\n```java\r\nelse if (method == PUT && value instanceof JSONArray && (whereList == null || whereList.contains(key) == false))\r\n```\r\n 改为\r\n```java\r\nelse if (method == PUT && value instanceof JSONArray && (whereList == null || whereList.contains(key) == false) && StringUtil.isName(key))\r\n```\r\n\r\nhttps://github.com/Tencent/APIJSON/blob/0e06d1989a7a23de7115df5c9ab0a8166dd720ee/APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.java\r\n\r\n类似问题: \"userId>\": 82002 转为了 userId = 82002\r\n![image](https://user-images.githubusercontent.com/5738175/127597990-0380d828-2f3c-419b-a996-fdd0d2b19411.png)\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/5738175/127598183-fe814b1a-3212-42bc-b6fa-701d39b5147d.png)\r\n\r\n![image](https://user-images.githubusercontent.com/5738175/127598161-c946463c-39b6-41d4-bd7a-e5cf274eab67.png)\r\n\r\n不能这么简单地判断 isWhere,而是在循环内判断 method != PUT || (StringUtil.isName(key) == false)\r\n\r\nhttps://github.com/Tencent/APIJSON/blob/0e06d1989a7a23de7115df5c9ab0a8166dd720ee/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java\r\n","author":{"url":"https://github.com/TommyLemon","@type":"Person","name":"TommyLemon"},"datePublished":"2021-07-30T03:39:00Z","url":"https://github.com/APIJSON/APIJSON/issues/276"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0969edce-375e-8d7d-f3fc-e50a054a58eb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD166:3DC20:39B74:4F4BC:6AFCFC7D
html-safe-noncef6bab81cdea3afb49a00db480ae5288946fc8164d0a3d37ce53c4c134dde9015
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTY2OjNEQzIwOjM5Qjc0OjRGNEJDOjZBRkNGQzdEIiwidmlzaXRvcl9pZCI6IjcwMzU3MDk4NTYzNTg5MjMzODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac24de7762e7529aeabf6c018f0b8cb31defae835addd70245a27cc5ce4c327994
hovercard-subject-tagissue:956371398
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/APIJSON/APIJSON/276/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a81993e41e02f20cfc6dbc11fcddc53f2209405bad9c5f14f01cad37c90de956/APIJSON/APIJSON/issues/276
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a81993e41e02f20cfc6dbc11fcddc53f2209405bad9c5f14f01cad37c90de956/APIJSON/APIJSON/issues/276
og:image:alt应该当成条件来处理 或者 直接返回错误信息。 环境信息 系统: Linux CentOS JDK: 1.8.0_17 数据库: MySQL 5.7.14 APIJSON: 4.7.0 问题描述 http://apijson.cn:8080/put { "Moment": { "id": 15, "praiseUserIdList<>": [ 1 ] }, "tag": "Moment", "...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTommyLemon
hostnamegithub.com
expected-hostnamegithub.com
Nonecfabad6ee26d2b84c7afef4ae0cc71b8b692fb9d66f9f15997652ef991bfd3f4
turbo-cache-controlno-preview
go-importgithub.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git
octolytics-dimension-user_id41146037
octolytics-dimension-user_loginAPIJSON
octolytics-dimension-repository_id74359442
octolytics-dimension-repository_nwoAPIJSON/APIJSON
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74359442
octolytics-dimension-repository_network_root_nwoAPIJSON/APIJSON
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release35f85b78676038389558a41adf8d76e474592ede
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/APIJSON/APIJSON/issues/276#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAPIJSON%2FAPIJSON%2Fissues%2F276
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAPIJSON%2FAPIJSON%2Fissues%2F276
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=APIJSON%2FAPIJSON
Reloadhttps://github.com/APIJSON/APIJSON/issues/276
Reloadhttps://github.com/APIJSON/APIJSON/issues/276
Reloadhttps://github.com/APIJSON/APIJSON/issues/276
APIJSONhttps://github.com/APIJSON
APIJSONhttps://github.com/APIJSON/APIJSON
Codehttps://github.com/APIJSON/APIJSON
Issues237 (237)https://github.com/APIJSON/APIJSON/issues
Pull requestshttps://github.com/APIJSON/APIJSON/pulls
Actionshttps://github.com/APIJSON/APIJSON/actions
Wikihttps://github.com/APIJSON/APIJSON/wiki
Security and qualityhttps://github.com/APIJSON/APIJSON/security
Insightshttps://github.com/APIJSON/APIJSON/insights
https://github.com/APIJSON/APIJSON
New issuehttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/276
New issuehttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/276
[bug] PUT "key<>":[] 居然转成了 key = '[]'https://github.com/APIJSON/APIJSON/issues/276#top
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
help wanted请求帮助https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/TommyLemon
TommyLemonhttps://github.com/TommyLemon
on Jul 30, 2021https://github.com/APIJSON/APIJSON/issues/276#issue-956371398
https://user-images.githubusercontent.com/5738175/127596388-99e831d1-4e9e-423c-bbb6-da86afdcab86.png
http://apijson.cn:8080/puthttp://apijson.cn:8080/put
@Explainhttps://github.com/Explain
@combinehttps://github.com/combine
https://user-images.githubusercontent.com/5738175/127596924-c7e39989-aaac-4039-8a87-0dfb632b0af6.png
@combinehttps://github.com/combine
@Explainhttps://github.com/Explain
https://user-images.githubusercontent.com/5738175/127597202-d057bc72-992b-455b-83bf-6a7fb0911f65.png
https://github.com/Tencent/APIJSON/blob/0e06d1989a7a23de7115df5c9ab0a8166dd720ee/APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.javahttps://github.com/Tencent/APIJSON/blob/0e06d1989a7a23de7115df5c9ab0a8166dd720ee/APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.java
https://user-images.githubusercontent.com/5738175/127597990-0380d828-2f3c-419b-a996-fdd0d2b19411.png
https://user-images.githubusercontent.com/5738175/127598183-fe814b1a-3212-42bc-b6fa-701d39b5147d.png
https://user-images.githubusercontent.com/5738175/127598161-c946463c-39b6-41d4-bd7a-e5cf274eab67.png
https://github.com/Tencent/APIJSON/blob/0e06d1989a7a23de7115df5c9ab0a8166dd720ee/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.javahttps://github.com/Tencent/APIJSON/blob/0e06d1989a7a23de7115df5c9ab0a8166dd720ee/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java
TommyLemonhttps://github.com/TommyLemon
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
help wanted请求帮助https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
on Jul 30, 2021https://github.com/APIJSON/APIJSON/issues/276#event-5089286599
TommyLemonhttps://github.com/TommyLemon
completedhttps://github.com/APIJSON/APIJSON/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 2, 2021https://github.com/APIJSON/APIJSON/issues/276#event-5705417716
https://github.com/TommyLemon
TommyLemonhttps://github.com/TommyLemon
on Dec 2, 2021https://github.com/APIJSON/APIJSON/issues/276#issuecomment-984572908
@chenyanlannhttps://github.com/chenyanlann
Sign up for freehttps://github.com/signup?return_to=https://github.com/APIJSON/APIJSON/issues/276
Sign in to commenthttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/276
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
help wanted请求帮助https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.