mirror of
https://github.com/AdmiralCurtiss/WfcPatcher.git
synced 2026-04-25 15:35:25 -05:00
Don't patch lone "https://".
Probably used in a strcmp().
This commit is contained in:
parent
f250e8dd97
commit
2c6499ce7f
|
|
@ -131,6 +131,7 @@ namespace WfcPatcher {
|
|||
|
||||
foreach ( int result in results ) {
|
||||
string originalString = Util.GetTextAscii( data, result );
|
||||
if ( originalString == "https://" ) { continue; } // don't replace lone https, probably used for strcmp to figure out if an URL is SSL or not
|
||||
string replacedString = originalString.Replace( search, replace );
|
||||
byte[] replacedStringBytes = Encoding.ASCII.GetBytes( replacedString );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user