We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86e45c0 commit adf857cCopy full SHA for adf857c
src/ApacheModRewriteGenerator.php
@@ -50,7 +50,7 @@ public function generateRewrite( string $from, string $to, int $type ) : string
50
);
51
}
52
53
- if( ($fromScheme && $toScheme) && $fromScheme !== $toScheme && $toHost && $fromHost === $toHost ) {
+ if( $fromScheme && $toScheme && $toHost && $fromScheme !== $toScheme && $fromHost === $toHost ) {
54
throw new MismatchedSchemeException('Scheme specified on "FROM" of "' . $fromScheme . '" and "TO" of "' . $toScheme . '" do not match.');
55
56
0 commit comments