mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug #38, remove app slash of jwplayer, change to 0.9.46
This commit is contained in:
parent
3f13726544
commit
f089eafd9f
2 changed files with 6 additions and 2 deletions
|
@ -131,7 +131,11 @@ int SrsRequest::discovery_app()
|
|||
// remove the unsupported chars in names.
|
||||
vhost = srs_string_remove(vhost, "/ \n\r\t");
|
||||
app = srs_string_remove(app, " \n\r\t");
|
||||
stream = srs_string_remove(stream, "/ \n\r\t");
|
||||
stream = srs_string_remove(stream, " \n\r\t");
|
||||
|
||||
// remove end slash of app
|
||||
app = srs_string_trim_end(app, "/");
|
||||
stream = srs_string_trim_end(stream, "/");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue