Title: SchemaPrinter fails when a directive contains something resembling a format specifier · Issue #2919 · graphql-java/graphql-java · GitHub
Open Graph Title: SchemaPrinter fails when a directive contains something resembling a format specifier · Issue #2919 · graphql-java/graphql-java
X Title: SchemaPrinter fails when a directive contains something resembling a format specifier · Issue #2919 · graphql-java/graphql-java
Description: At https://github.com/graphql-java/graphql-java/blob/v18.1/src/main/java/graphql/schema/idl/SchemaPrinter.java#L678, the SchemaPrinter calls out.format on a string with directive, but doesn't supply any formatting arguments. If the direc...
Open Graph Description: At https://github.com/graphql-java/graphql-java/blob/v18.1/src/main/java/graphql/schema/idl/SchemaPrinter.java#L678, the SchemaPrinter calls out.format on a string with directive, but doesn't suppl...
X Description: At https://github.com/graphql-java/graphql-java/blob/v18.1/src/main/java/graphql/schema/idl/SchemaPrinter.java#L678, the SchemaPrinter calls out.format on a string with directive, but doesn't s...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/2919
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SchemaPrinter fails when a directive contains something resembling a format specifier","articleBody":"At https://github.com/graphql-java/graphql-java/blob/v18.1/src/main/java/graphql/schema/idl/SchemaPrinter.java#L678, the SchemaPrinter calls `out.format` on a string with directive, but doesn't supply any formatting arguments. If the directive string contains anything that resembles a format specifier, then the call blows up. \r\nFor example, it breaks when there's a constraint requiring a value ending with percentage sign: `@constraint(pattern : \".+%\")`\r\nSee related https://github.com/smallrye/smallrye-graphql/issues/1492","author":{"url":"https://github.com/jmartisk","@type":"Person","name":"jmartisk"},"datePublished":"2022-08-15T07:08:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2919/graphql-java/issues/2919"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67b9995f-f63b-ce15-2363-2e8d2b56e2fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87B8:3D3620:1F8973:2950F9:6A5FEA66 |
| html-safe-nonce | c1eeaf1c3730cdc0ee8a6afa03fd4b958883e585088cb27efa1011edb379f85c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0I4OjNEMzYyMDoxRjg5NzM6Mjk1MEY5OjZBNUZFQTY2IiwidmlzaXRvcl9pZCI6IjM5ODgxNTUwNDE5Nzk1NTg1MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f31e03dbb9d878b951c54a8e3d74ad38559b39116451bd5036e69db70c952fcb |
| hovercard-subject-tag | issue:1338622678 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-java/graphql-java/2919/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47ee4294549c5ebd92d307528911acc52999f19d8fe65136742c14eddb25a5d9/graphql-java/graphql-java/issues/2919 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47ee4294549c5ebd92d307528911acc52999f19d8fe65136742c14eddb25a5d9/graphql-java/graphql-java/issues/2919 |
| og:image:alt | At https://github.com/graphql-java/graphql-java/blob/v18.1/src/main/java/graphql/schema/idl/SchemaPrinter.java#L678, the SchemaPrinter calls out.format on a string with directive, but doesn't suppl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jmartisk |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba296ecd3a3521238fe43b3b3b08cc09207ddc21173e16ee656db03803de8e2b |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git |
| octolytics-dimension-user_id | 14289921 |
| octolytics-dimension-user_login | graphql-java |
| octolytics-dimension-repository_id | 38602457 |
| octolytics-dimension-repository_nwo | graphql-java/graphql-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38602457 |
| octolytics-dimension-repository_network_root_nwo | graphql-java/graphql-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6e50fb37e29e4aa0df6386cb485e58b0e3ca97ab |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width