René's URL Explorer Experiment


Title: getBytes encoding should be explicit · Issue #105 · microsoftgraph/msgraph-sdk-java · GitHub

Open Graph Title: getBytes encoding should be explicit · Issue #105 · microsoftgraph/msgraph-sdk-java

X Title: getBytes encoding should be explicit · Issue #105 · microsoftgraph/msgraph-sdk-java

Description: Extending discussion in #95 there are many places in the project source where platform dependent character encoding is used via a call to getBytes() instead of for instance getBytes(utf8) (or whatever is appropriate). All of these calls ...

Open Graph Description: Extending discussion in #95 there are many places in the project source where platform dependent character encoding is used via a call to getBytes() instead of for instance getBytes(utf8) (or whate...

X Description: Extending discussion in #95 there are many places in the project source where platform dependent character encoding is used via a call to getBytes() instead of for instance getBytes(utf8) (or whate...

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/105

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getBytes encoding should be explicit","articleBody":"Extending discussion in #95 there are many places in the project source where platform dependent character encoding is used via a call to `getBytes()` instead of for instance `getBytes(utf8)` (or whatever is appropriate). All of these calls should use an explicit `Charset`.\r\n\r\nA quick grep showed these:\r\n\r\n```\r\n./src/main/java/com/microsoft/graph/http/DefaultHttpProvider.java:                    bytesToWrite = serializeObject.getBytes();\r\n./src/main/java/com/microsoft/graph/http/DefaultHttpProvider.java:        InputStream in = new ByteArrayInputStream(\"{}\".getBytes());\r\n./src/main/java/com/microsoft/graph/models/extensions/Multipart.java:\t\taddPart(name, contentType, content.getBytes());\r\n./src/main/java/com/microsoft/graph/models/extensions/Multipart.java:\t\tout.write(partContent.getBytes());\r\n./src/main/java/com/microsoft/graph/models/extensions/Multipart.java:\t\tout.write(returnContent.getBytes());\r\n./src/main/java/com/microsoft/graph/models/extensions/Multipart.java:\t\tfinalStream.write(addEnding().getBytes());\r\n./src/test/java/com/microsoft/graph/http/MockConnection.java:        return new ByteArrayInputStream(mData.getJsonResponse().getBytes());\r\n./src/test/java/com/microsoft/graph/functional/SharePointTests.java://        String url = \"u!\" + Base64.getUrlEncoder().encodeToString(testSite.webUrl.getBytes());\r\n./src/test/java/com/microsoft/graph/functional/OneNoteTests.java:        byte[] pageStream = content.getBytes();\r\n```\r\n","author":{"url":"https://github.com/davidmoten","@type":"Person","name":"davidmoten"},"datePublished":"2018-07-24T07:20:45Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/105"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1ce40f3f-18aa-d668-979a-c56072aad9a4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE4D0:33B184:D1B9D6:1160DB0:6B050550
html-safe-nonce70dfa619d3bad6fefa781ab21884ff6021bd5888ce895e6ea6f25279831766ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEQwOjMzQjE4NDpEMUI5RDY6MTE2MERCMDo2QjA1MDU1MCIsInZpc2l0b3JfaWQiOiI0OTMyMzA2NDk3MTAwMzgzNTY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc617d3edab7082310744c0ed94055d10c6c29bdc8b5269af71bfd39d04f89e61
hovercard-subject-tagissue:343914302
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-java/105/issue_layout
twitter:imagehttps://opengraph.githubassets.com/159bfe6ed30b6e2be19df646901a96b868e108e12990d45172d2cda746232811/microsoftgraph/msgraph-sdk-java/issues/105
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/159bfe6ed30b6e2be19df646901a96b868e108e12990d45172d2cda746232811/microsoftgraph/msgraph-sdk-java/issues/105
og:image:altExtending discussion in #95 there are many places in the project source where platform dependent character encoding is used via a call to getBytes() instead of for instance getBytes(utf8) (or whate...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavidmoten
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
go-importgithub.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id103300409
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id103300409
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-java/issues/105#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F105
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F105
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoftgraph%2Fmsgraph-sdk-java
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/105
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/105
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/105
microsoftgraphhttps://github.com/microsoftgraph
msgraph-sdk-javahttps://github.com/microsoftgraph/msgraph-sdk-java
Codehttps://github.com/microsoftgraph/msgraph-sdk-java
Issues107 (107)https://github.com/microsoftgraph/msgraph-sdk-java/issues
Pull requests23 (23)https://github.com/microsoftgraph/msgraph-sdk-java/pulls
Actionshttps://github.com/microsoftgraph/msgraph-sdk-java/actions
Projectshttps://github.com/microsoftgraph/msgraph-sdk-java/projects
Security and qualityhttps://github.com/microsoftgraph/msgraph-sdk-java/security
Insightshttps://github.com/microsoftgraph/msgraph-sdk-java/insights
https://github.com/microsoftgraph/msgraph-sdk-java
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/105
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/105
#135https://github.com/microsoftgraph/msgraph-sdk-java/pull/135
#131https://github.com/microsoftgraph/msgraph-sdk-java/pull/131
getBytes encoding should be explicithttps://github.com/microsoftgraph/msgraph-sdk-java/issues/105#top
#135https://github.com/microsoftgraph/msgraph-sdk-java/pull/135
#131https://github.com/microsoftgraph/msgraph-sdk-java/pull/131
https://github.com/NakulSabharwal
https://github.com/davidmoten
Dave Moten (davidmoten)https://github.com/davidmoten
on Jul 24, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#issue-343914302
#95https://github.com/microsoftgraph/msgraph-sdk-java/issues/95
https://github.com/darrelmiller
Darrel (darrelmiller)https://github.com/darrelmiller
on Jul 25, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#issuecomment-407764108
https://github.com/davidmoten
Dave Moten (davidmoten)https://github.com/davidmoten
on Jul 26, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#issuecomment-407946170
#22https://github.com/microsoftgraph/msgraph-sdk-java/issues/22
https://github.com/darrelmiller
Darrel (darrelmiller)https://github.com/darrelmiller
on Jul 26, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#issuecomment-408174421
Dave Moten (@davidmoten)https://github.com/davidmoten
https://github.com/davidmoten
Dave Moten (davidmoten)https://github.com/davidmoten
on Jul 27, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#issuecomment-408323354
Darrel (@darrelmiller)https://github.com/darrelmiller
Deepak Agrawal (deepak2016)https://github.com/deepak2016
NakulSabharwalhttps://github.com/NakulSabharwal
on Jul 31, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#event-1762381058
NakulSabharwalhttps://github.com/NakulSabharwal
on Aug 2, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#event-1767403799
Fixing issue #105 , by giving UTF-8 as parameter to getBytes in class…https://github.com/microsoftgraph/msgraph-sdk-java/commit/ea8de45280030260863343f9699ba24bd11d201c
#105https://github.com/microsoftgraph/msgraph-sdk-java/issues/105
ea8de45https://github.com/microsoftgraph/msgraph-sdk-java/commit/ea8de45280030260863343f9699ba24bd11d201c
NakulSabharwalhttps://github.com/NakulSabharwal
completedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#131https://github.com/microsoftgraph/msgraph-sdk-java/pull/131
on Sep 17, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/105#event-1848812491
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/105
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/105
NakulSabharwalhttps://github.com/NakulSabharwal
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.