Title: [BUG] Test coverage for -DCASE_INSENSITIVE is lacking. · Issue #310 · etr/libhttpserver · GitHub
Open Graph Title: [BUG] Test coverage for -DCASE_INSENSITIVE is lacking. · Issue #310 · etr/libhttpserver
X Title: [BUG] Test coverage for -DCASE_INSENSITIVE is lacking. · Issue #310 · etr/libhttpserver
Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description Some digging around for other reason show...
Open Graph Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description S...
X Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues D...
Opengraph URL: https://github.com/etr/libhttpserver/issues/310
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Test coverage for -DCASE_INSENSITIVE is lacking.","articleBody":"### Prerequisites\r\n\r\n* [X] Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=\u0026q=repo%3Aetr%2Flibhttpserver\u0026type=Issues\r\n\r\n### Description\r\n\r\nSome digging around for other reason shows that `http_endpoint::operator\u003c` is unconditionally case-insensitive. This strongly implies that there are gaps in the test suite relating to builds with `-DCASE_INSENSITIVE`.\r\n\r\n### Steps to Reproduce\r\n\r\nPlay around with this: https://github.com/etr/libhttpserver/pull/309/commits/518a966890d595b5889dd9966f488ac65adda319\r\n\r\n**Expected behavior:** Test coverage both with and withou `-DCASE_INSENSITIVE` and the cases where they differ.\r\n\r\n**Actual behavior:** A test I added for one case surfaced a bug.\r\n\r\n### Versions\r\n\r\nCurrent master.\r\n","author":{"url":"https://github.com/bcsgh","@type":"Person","name":"bcsgh"},"datePublished":"2023-04-06T05:06:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/310/libhttpserver/issues/310"}
| 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:f4ba5168-557f-b797-e9b9-0091cbb77f22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBC2:6437B:4F5E5C4:6872A6D:696D7732 |
| html-safe-nonce | 2ea6162334632a83fb26f4a180fd606460ea3aeab33c06c6430f024bd822e7ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkMyOjY0MzdCOjRGNUU1QzQ6Njg3MkE2RDo2OTZENzczMiIsInZpc2l0b3JfaWQiOiI4NTE4MjM0MTg2MzkxMDU4MjI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 32f7f9f224737ef94aacb22229815a3aa9a2a2d61d8373faef7140001143ce15 |
| hovercard-subject-tag | issue:1656671925 |
| 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/etr/libhttpserver/310/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cbfe25a23e158075934203b543f379f9456715ee38a75c4229fa8bf259539e8e/etr/libhttpserver/issues/310 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cbfe25a23e158075934203b543f379f9456715ee38a75c4229fa8bf259539e8e/etr/libhttpserver/issues/310 |
| og:image:alt | Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description S... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bcsgh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/etr/libhttpserver git https://github.com/etr/libhttpserver.git |
| octolytics-dimension-user_id | 1201536 |
| octolytics-dimension-user_login | etr |
| octolytics-dimension-repository_id | 3416891 |
| octolytics-dimension-repository_nwo | etr/libhttpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3416891 |
| octolytics-dimension-repository_network_root_nwo | etr/libhttpserver |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width