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

Support for in-app audio playback. #4270

Closed
wants to merge 7 commits into from

Conversation

moxie0
Copy link
Contributor

@moxie0 moxie0 commented Oct 21, 2015

No description provided.

@moxie0 moxie0 added this to the 3.1.0 milestone Oct 21, 2015
if (cbSkip > 0) {// It is a seek or skip request if there's a Range
// header
headers += "HTTP/1.1 206 Partial Content\r\n";
headers += "Content-Type: " + attachment.getContentType() + "\r\n";
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to sanitize/escape attachment.getContentType()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in what way? it's a mime type right?

Copy link
Contributor

Choose a reason for hiding this comment

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

it's a string passed in via protobuf from the network that we assume is a validly constructed MIME, no?

moxie0 added a commit that referenced this pull request Oct 22, 2015
@moxie0
Copy link
Contributor Author

moxie0 commented Oct 22, 2015

in 3.1.0

@moxie0 moxie0 closed this Oct 22, 2015
BLeQuerrec pushed a commit to SilenceIM/Silence that referenced this pull request Nov 29, 2015
@ehrenkret-signal ehrenkret-signal deleted the moxie/audio_widget_attachment_squashed branch January 27, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants