Title: Transformation erroneously replacing all overlay spaces to underscore · Issue #160 · cloudinary/cloudinary_java · GitHub
Open Graph Title: Transformation erroneously replacing all overlay spaces to underscore · Issue #160 · cloudinary/cloudinary_java
X Title: Transformation erroneously replacing all overlay spaces to underscore · Issue #160 · cloudinary/cloudinary_java
Description: Currently, Transformation class is replacing all spaces on parameters to underscore in this line: cloudinary_java/cloudinary-core/src/main/java/com/cloudinary/Transformation.java Line 723 in 738b328 transformations.add(Expression.normali...
Open Graph Description: Currently, Transformation class is replacing all spaces on parameters to underscore in this line: cloudinary_java/cloudinary-core/src/main/java/com/cloudinary/Transformation.java Line 723 in 738b32...
X Description: Currently, Transformation class is replacing all spaces on parameters to underscore in this line: cloudinary_java/cloudinary-core/src/main/java/com/cloudinary/Transformation.java Line 723 in 738b32...
Opengraph URL: https://github.com/cloudinary/cloudinary_java/issues/160
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Transformation erroneously replacing all overlay spaces to underscore","articleBody":"Currently, Transformation class is replacing all spaces on parameters to underscore in this line:\r\nhttps://github.com/cloudinary/cloudinary_java/blob/738b328a9057084097b7e381bf8a6e989cf69b43/cloudinary-core/src/main/java/com/cloudinary/Transformation.java#L723\r\n\r\nThis is causing some issues, like when I try to use some font name that contains spaces (eg: Roboto Condensed), it replaces with underscores and the URL become invalid (because font is invalid). The same applies to text content (overlay), when using the text `My Text Content` it appears on final Image as `My_Text_Content`.\r\n\r\nExample:\r\n```java\r\ncloudinary.url()\r\n\t\t.signed(true)\r\n\t\t.resourceType(\"video\")\r\n\t\t.transformation(new Transformation()\r\n\t\t\t\t.height(480)\r\n\t\t\t\t.width(720)\r\n\t\t\t\t.crop(\"fill\")\r\n\t\t\t\t.chain()\r\n\t\t\t\t.color(\"white\")\r\n\t\t\t\t.overlay(\"text:Roboto_70_bold:My Text Content\"))\r\n\t\t.format(\"jpg\")\r\n\t\t.generate(\"video/2130\");\r\n```\r\nResults in:\r\n\u003cimg src=\"https://user-images.githubusercontent.com/2285773/52509794-a1478b80-2be0-11e9-8722-ad78ec6cd96d.jpg\" width=\"200\"\u003e\r\n","author":{"url":"https://github.com/edumelzer","@type":"Person","name":"edumelzer"},"datePublished":"2019-02-08T22:35:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/160/cloudinary_java/issues/160"}
| 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:2d0e5eb8-678d-5ff8-a0e2-216365949908 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDEE:340890:2F35995:3F4ECCF:697C66CE |
| html-safe-nonce | fabf2ada5c2189d3121d7c12193ef01d1b587f80bf29ecf6116d1f82bc1ce267 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREVFOjM0MDg5MDoyRjM1OTk1OjNGNEVDQ0Y6Njk3QzY2Q0UiLCJ2aXNpdG9yX2lkIjoiNjk1NzE2ODEzNzI4NDExODIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3a5fcd43be690d83c3534c0b02431d2b636c71ee8b1e28d5292ca9e9d2f0883e |
| hovercard-subject-tag | issue:408350676 |
| 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/cloudinary/cloudinary_java/160/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37bb8dcd3e9d11430ef13ebb6a19becd6841c50207b6ad7d50dabca6657bd0dc/cloudinary/cloudinary_java/issues/160 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37bb8dcd3e9d11430ef13ebb6a19becd6841c50207b6ad7d50dabca6657bd0dc/cloudinary/cloudinary_java/issues/160 |
| og:image:alt | Currently, Transformation class is replacing all spaces on parameters to underscore in this line: cloudinary_java/cloudinary-core/src/main/java/com/cloudinary/Transformation.java Line 723 in 738b32... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | edumelzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | da4f0ee56809799586f8ee546b27f94fe9b5893edfbf87732e82be45be013b52 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudinary/cloudinary_java git https://github.com/cloudinary/cloudinary_java.git |
| octolytics-dimension-user_id | 1460763 |
| octolytics-dimension-user_login | cloudinary |
| octolytics-dimension-repository_id | 6179800 |
| octolytics-dimension-repository_nwo | cloudinary/cloudinary_java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 6179800 |
| octolytics-dimension-repository_network_root_nwo | cloudinary/cloudinary_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 | 787d8d274e314f52ce6d846c7581f9476d8dc736 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width