Title: Alternative "Converter" parameter lowercase · Issue #59 · ConvertAPI/convertapi-library-node · GitHub
Open Graph Title: Alternative "Converter" parameter lowercase · Issue #59 · ConvertAPI/convertapi-library-node
X Title: Alternative "Converter" parameter lowercase · Issue #59 · ConvertAPI/convertapi-library-node
Description: When passing the "Converter" parameter starting with the capital "C" the conversion fails: If we pass "converter" instead of "Converter" then it succeeds. The converter matching should ignore the case. Here is the code to replicate the b...
Open Graph Description: When passing the "Converter" parameter starting with the capital "C" the conversion fails: If we pass "converter" instead of "Converter" then it succeeds. The converter matching should ignore the c...
X Description: When passing the "Converter" parameter starting with the capital "C" the conversion fails: If we pass "converter" instead of "Converter" then it succeeds. Th...
Opengraph URL: https://github.com/ConvertAPI/convertapi-library-node/issues/59
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Alternative \"Converter\" parameter lowercase","articleBody":"When passing the \"Converter\" parameter starting with the capital \"C\" the conversion fails:\r\n\r\n\r\n\r\nIf we pass \"converter\" instead of \"Converter\" then it succeeds. The converter matching should ignore the case.\r\n\r\nHere is the code to replicate the bug:\r\n\r\n```js\r\nasync function start() {\r\n\ttry {\r\n\t\tlet secret = '\u003cyour secret here\u003e'\r\n\t\tconst convertapi = require('convertapi')(secret);\r\n\t\tlet result = convertapi.convert('pdf', {\r\n\t\t\tFile: 'path/to/sample.xlsx',\r\n\t\t\tPageSize: 'envelopeusa',\r\n\t\t\tConverter: 'Printer'\r\n\t\t\t}, 'xlsx').then(function(res) {\r\n\t\t\t\tconsole.log(res);\r\n\t\t});\r\n\t\tconsole.log(result);\r\n\t}\r\n\tcatch(exception) {\r\n\t\tthrow exception;\r\n\t}\r\n}\r\n\r\nstart();\r\n```","author":{"url":"https://github.com/kostas-jonauskas","@type":"Person","name":"kostas-jonauskas"},"datePublished":"2023-01-10T12:57:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/59/convertapi-library-node/issues/59"}
| 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:aed5e647-9ab1-2aff-eb83-06e1555fb99b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A64C:3207D8:FFD27C:1448010:697F0D22 |
| html-safe-nonce | f60dd94a1e90249cc33837a4e62a9630a71404efbfa164f4efd67611e2d13f0d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjRDOjMyMDdEODpGRkQyN0M6MTQ0ODAxMDo2OTdGMEQyMiIsInZpc2l0b3JfaWQiOiIyMjIyMDI1NzA2Mjk0OTM4OTE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6908cc03b03f3abcfdb9a362e957cc85b468c15f1ad107909b05d4b53e49f67e |
| hovercard-subject-tag | issue:1527344060 |
| 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/ConvertAPI/convertapi-library-node/59/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30b4a0265eeafa053f6dc704378a766fe3148c8c052bb03e4983ee18a5ad880f/ConvertAPI/convertapi-library-node/issues/59 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30b4a0265eeafa053f6dc704378a766fe3148c8c052bb03e4983ee18a5ad880f/ConvertAPI/convertapi-library-node/issues/59 |
| og:image:alt | When passing the "Converter" parameter starting with the capital "C" the conversion fails: If we pass "converter" instead of "Converter" then it succeeds. The converter matching should ignore the c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kostas-jonauskas |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/ConvertAPI/convertapi-library-node git https://github.com/ConvertAPI/convertapi-library-node.git |
| octolytics-dimension-user_id | 37071453 |
| octolytics-dimension-user_login | ConvertAPI |
| octolytics-dimension-repository_id | 140835661 |
| octolytics-dimension-repository_nwo | ConvertAPI/convertapi-library-node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 140835661 |
| octolytics-dimension-repository_network_root_nwo | ConvertAPI/convertapi-library-node |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width