Title: String functions startswith and endswith don't work properly with apostrophe · Issue #60 · beyond-code-github/LinqToQuerystring · GitHub
Open Graph Title: String functions startswith and endswith don't work properly with apostrophe · Issue #60 · beyond-code-github/LinqToQuerystring
X Title: String functions startswith and endswith don't work properly with apostrophe · Issue #60 · beyond-code-github/LinqToQuerystring
Description: I tried different escape sequences, no one work. LinqToQuerystringFilteringSample also don't allow search by apostrophe, crashes with exception. Simple test (nunit) [Test] [TestCase("'", Result = 1)] [TestCase("\'", Result = 1)] [TestCas...
Open Graph Description: I tried different escape sequences, no one work. LinqToQuerystringFilteringSample also don't allow search by apostrophe, crashes with exception. Simple test (nunit) [Test] [TestCase("'", Result = 1...
X Description: I tried different escape sequences, no one work. LinqToQuerystringFilteringSample also don't allow search by apostrophe, crashes with exception. Simple test (nunit) [Test] [TestCase("'...
Opengraph URL: https://github.com/beyond-code-github/LinqToQuerystring/issues/60
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"String functions startswith and endswith don't work properly with apostrophe","articleBody":"I tried different escape sequences, no one work.\nLinqToQuerystringFilteringSample also don't allow search by apostrophe, crashes with exception.\n\nSimple test (nunit)\n [Test]\n [TestCase(\"\\'\", Result = 1)]\n [TestCase(\"\\\\'\", Result = 1)]\n [TestCase(\"''''\", Result = 1)]\n [TestCase(\"''\", Result = 1)]\n [TestCase(\"\\\"\", Result = 1)]\n public int QueryWithApostrophe(string query)\n {\n var data = new Data[] { new Data(\"'hello\"), new Data(\"one\"), new Data(\"two\"), new Data(\"three\") };\n\n```\n var result = data.AsQueryable().LinqToQuerystring(typeof(Data), \"?$filter=startswith(tolower(Title),tolower('\" + query + \"')) eq true\");\n\n return (result as IEnumerable\u003cData\u003e).Count();\n }\n```\n","author":{"url":"https://github.com/vkagamlyk","@type":"Person","name":"vkagamlyk"},"datePublished":"2015-07-17T15:31:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/60/LinqToQuerystring/issues/60"}
| 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:f08c4fa8-f487-79e2-8a28-a8f5a3495d34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9B8:1C1713:204972:2B77EA:6977BF72 |
| html-safe-nonce | b995201d81c9c92d41f60b7d14a39611fce55f1747e612ec5abf93b4101f8e62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUI4OjFDMTcxMzoyMDQ5NzI6MkI3N0VBOjY5NzdCRjcyIiwidmlzaXRvcl9pZCI6Ijc2Mzc1MTg4MDEyNDMxOTMyMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1ac81b728ca4e0c7e8bad70ebe0f19fc7f22ec28e732f7a10181d98f2125d802 |
| hovercard-subject-tag | issue:95680377 |
| 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/beyond-code-github/LinqToQuerystring/60/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9032837aa2ef6ca90a5884c1104c11cf4f49f0f2fe5642f7feb2991009fd34a3/beyond-code-github/LinqToQuerystring/issues/60 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9032837aa2ef6ca90a5884c1104c11cf4f49f0f2fe5642f7feb2991009fd34a3/beyond-code-github/LinqToQuerystring/issues/60 |
| og:image:alt | I tried different escape sequences, no one work. LinqToQuerystringFilteringSample also don't allow search by apostrophe, crashes with exception. Simple test (nunit) [Test] [TestCase("'", Result = 1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vkagamlyk |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd7783bd9901db88bac6bc215af7f020bc205a04ebc67e6c7def882ef2859ecd |
| turbo-cache-control | no-preview |
| go-import | github.com/beyond-code-github/LinqToQuerystring git https://github.com/beyond-code-github/LinqToQuerystring.git |
| octolytics-dimension-user_id | 795965 |
| octolytics-dimension-user_login | beyond-code-github |
| octolytics-dimension-repository_id | 9010972 |
| octolytics-dimension-repository_nwo | beyond-code-github/LinqToQuerystring |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9010972 |
| octolytics-dimension-repository_network_root_nwo | beyond-code-github/LinqToQuerystring |
| 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 | 5d30081a77a5d66860584073cb38fd98fd7f9388 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width