mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Add support for specifying node rename pattern in URL argument. Optimize codes.
This commit is contained in:
3 files changed
+10
-4
No files matched your search
@@ -56,7 +56,7 @@ static inline int process_request(const char *method_str, std::string uri, std::
|
||||
|
||||
for(responseRoute &x : responses)
|
||||
{
|
||||
if(strcmp(method_str, "OPTIONS") == 0 && x.method == postdata && x.path == path)
|
||||
if(strcmp(method_str, "OPTIONS") == 0 && postdata.find(x.method) != 0 && x.path == path)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user