Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-8008] Fixed issues with base64 encodings. Added implementation for sha1 #1726

Merged
merged 2 commits into from Mar 18, 2012
Merged

[TIMOB-8008] Fixed issues with base64 encodings. Added implementation for sha1 #1726

merged 2 commits into from Mar 18, 2012

Conversation

cb1kenobi
Copy link
Contributor

No description provided.

@@ -9,6 +9,10 @@ since: "0.9"
methods:
- name: base64decode
summary: Returns the specified data decoded from Base64.
description: |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can you tell if the Blob has binary data vs. base64 encoded data (which in practice would be base64 encoded twice)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the mime type is application/, image/, video/, or audio/, it's binary. I track it with the _isBinary flag.

@nebrius
Copy link
Contributor

nebrius commented Mar 18, 2012

Code reviewed and tested. Request approved.

nebrius added a commit that referenced this pull request Mar 18, 2012
[TIMOB-8008] Fixed issues with base64 encodings. Added implementation for sha1
@nebrius nebrius merged commit 664fb88 into tidev:master Mar 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants