mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support parsing vhost splited by single seperator. 2.0.268
This commit is contained in:
parent
01a4503ceb
commit
c5f31570cd
4 changed files with 8 additions and 1 deletions
|
@ -90,6 +90,7 @@ void srs_vhost_resolve(string& vhost, string& app, string& param)
|
|||
app = srs_string_replace(app, ",", "?");
|
||||
app = srs_string_replace(app, "...", "?");
|
||||
app = srs_string_replace(app, "&&", "?");
|
||||
app = srs_string_replace(app, "&", "?");
|
||||
app = srs_string_replace(app, "=", "?");
|
||||
if (srs_string_ends_with(app, "/_definst_")){
|
||||
app = srs_erase_last_substr(app, "/_definst_");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue