René's URL Explorer Experiment


Title: Base64 Decode requires padding · Issue #37 · colinta/SublimeStringEncode · GitHub

Open Graph Title: Base64 Decode requires padding · Issue #37 · colinta/SublimeStringEncode

X Title: Base64 Decode requires padding · Issue #37 · colinta/SublimeStringEncode

Description: Base64 Decode will not decode strings with the padding characters removed. As the padding characters are technically not required to decode without ambiguity, many applications strip the padding after encoding. A quick fix would be to ch...

Open Graph Description: Base64 Decode will not decode strings with the padding characters removed. As the padding characters are technically not required to decode without ambiguity, many applications strip the padding af...

X Description: Base64 Decode will not decode strings with the padding characters removed. As the padding characters are technically not required to decode without ambiguity, many applications strip the padding af...

Opengraph URL: https://github.com/colinta/SublimeStringEncode/issues/37

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Base64 Decode requires padding","articleBody":"Base64 Decode will not decode strings with the padding characters removed.  \r\n\r\nAs the padding characters are technically not required to decode without ambiguity, many applications strip the padding after encoding.  \r\n\r\nA quick fix would be to change the following line ([here](https://github.com/colinta/SublimeStringEncode/blob/6d07eb74d4861979e5f05f60138302145b1bf379/string_encode.py#L273)): \r\n\r\n```\r\nreturn base64.b64decode(text).decode('raw_unicode_escape')\r\n```\r\n\r\nto this: \r\n\r\n```\r\nreturn base64.b64decode(text + '===').decode('raw_unicode_escape')\r\n```\r\n\r\n(Per [this gist](https://gist.github.com/perrygeo/ee7c65bb1541ff6ac770), excess padding is safely ignored.  More tips and tricks in that link).\r\n\r\nA Sublime user can work around this by manually typing in the padding before using this feature, but I think adding this redundancy could benefit the overall ease of use (and hopefully not [break anyone's workflow](https://xkcd.com/1172/)).  ","author":{"url":"https://github.com/scholtes","@type":"Person","name":"scholtes"},"datePublished":"2018-05-17T21:37:14Z","url":"https://github.com/colinta/SublimeStringEncode/issues/37"}

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:105fc8bf-6958-df6c-4ef7-a852c0bfd0ce
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8732:29C55F:1F90D76:2A9CB90:6AFBA4F9
html-safe-nonce42c8dd0e5fd39f41cdb7e1c3083e35a810fe823414aa0bd71c5112f4c9211fa9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzMyOjI5QzU1RjoxRjkwRDc2OjJBOUNCOTA6NkFGQkE0RjkiLCJ2aXNpdG9yX2lkIjoiMTM3NDcxOTQ0MTU0MjgxNzAxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb44d96b820206a2d9cdb0fdf522ec0a7e6a2241d21ee98e54e6d7806e17a9129
hovercard-subject-tagissue:324194976
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/colinta/SublimeStringEncode/37/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3445684c531c90aa8e6f94235a64a869a1783291912a2b1dfe1d5c4e10588194/colinta/SublimeStringEncode/issues/37
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3445684c531c90aa8e6f94235a64a869a1783291912a2b1dfe1d5c4e10588194/colinta/SublimeStringEncode/issues/37
og:image:altBase64 Decode will not decode strings with the padding characters removed. As the padding characters are technically not required to decode without ambiguity, many applications strip the padding af...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamescholtes
hostnamegithub.com
expected-hostnamegithub.com
None03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf
turbo-cache-controlno-preview
go-importgithub.com/colinta/SublimeStringEncode git https://github.com/colinta/SublimeStringEncode.git
octolytics-dimension-user_id27570
octolytics-dimension-user_logincolinta
octolytics-dimension-repository_id3097155
octolytics-dimension-repository_nwocolinta/SublimeStringEncode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3097155
octolytics-dimension-repository_network_root_nwocolinta/SublimeStringEncode
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
release41f00295b9a35dca977890ab83b22788ab211dc8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/colinta/SublimeStringEncode/issues/37#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcolinta%2FSublimeStringEncode%2Fissues%2F37
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%2Fcolinta%2FSublimeStringEncode%2Fissues%2F37
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=colinta%2FSublimeStringEncode
Reloadhttps://github.com/colinta/SublimeStringEncode/issues/37
Reloadhttps://github.com/colinta/SublimeStringEncode/issues/37
Reloadhttps://github.com/colinta/SublimeStringEncode/issues/37
colintahttps://github.com/colinta
SublimeStringEncodehttps://github.com/colinta/SublimeStringEncode
Codehttps://github.com/colinta/SublimeStringEncode
Issues3 (3)https://github.com/colinta/SublimeStringEncode/issues
Pull requestshttps://github.com/colinta/SublimeStringEncode/pulls
Actionshttps://github.com/colinta/SublimeStringEncode/actions
Projectshttps://github.com/colinta/SublimeStringEncode/projects
Wikihttps://github.com/colinta/SublimeStringEncode/wiki
Security and qualityhttps://github.com/colinta/SublimeStringEncode/security
Insightshttps://github.com/colinta/SublimeStringEncode/pulse
https://github.com/colinta/SublimeStringEncode
New issuehttps://github.com/login?return_to=https://github.com/colinta/SublimeStringEncode/issues/37
New issuehttps://github.com/login?return_to=https://github.com/colinta/SublimeStringEncode/issues/37
Base64 Decode requires paddinghttps://github.com/colinta/SublimeStringEncode/issues/37#top
https://github.com/scholtes
scholteshttps://github.com/scholtes
on May 17, 2018https://github.com/colinta/SublimeStringEncode/issues/37#issue-324194976
herehttps://github.com/colinta/SublimeStringEncode/blob/6d07eb74d4861979e5f05f60138302145b1bf379/string_encode.py#L273
this gisthttps://gist.github.com/perrygeo/ee7c65bb1541ff6ac770
break anyone's workflowhttps://xkcd.com/1172/
https://github.com/colinta
colintahttps://github.com/colinta
on May 17, 2018https://github.com/colinta/SublimeStringEncode/issues/37#issuecomment-390028414
colintahttps://github.com/colinta
completedhttps://github.com/colinta/SublimeStringEncode/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 17, 2018https://github.com/colinta/SublimeStringEncode/issues/37#event-1633064986
Sign up for freehttps://github.com/signup?return_to=https://github.com/colinta/SublimeStringEncode/issues/37
Sign in to commenthttps://github.com/login?return_to=https://github.com/colinta/SublimeStringEncode/issues/37
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

Viewport: width=device-width


URLs of crawlers that visited me.