title: Laravel 8 route not working when .com is there
body: <p>I am in a strange stitaution.
  I have a very simple laravel application to check licence status. My example route is as below:</p>
  <pre><code>https://sign.abcd.com/get-license/pro/testingdomain.com
  </code></pre>
  <p>If I run the above url, its giving 403 forbidden error. But If I just change .com to anything else, its working fine. eg:</p>
  <pre><code>https://sign.abcd.com/get-license/pro/testingdomain.con // working fine
  </code></pre>
  <p>Where I am doing the mistake, plz advice.</p>
  <p><strong>Route File:</strong></p>
  <pre><code>&lt;?php
  
  use Illuminate\Support\Facades\Route;
  
  Route::get('/', function () {
      return view('welcome');
  });
  
  Route::get('/get-license/{type}/{domain}', [\App\Http\Controllers\License::class, 'license_status']);
  </code></pre>
  <p><strong>Controller</strong></p>
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use Illuminate\Support\Facades\DB;
  
  class License extends Controller
  {
      public function license_status($type, $domain)
      {
          $domain = str_ireplace(['http://', 'https://','www.'], '', $domain);
          $find = DB::table('licenses')-&gt;where('type', $type)-&gt;where('domain', $domain)-&gt;count();
          if($find &gt;0){
              return 'Ok';
          }
          return 'No license found for this domain';
      }
  }
  </code></pre>
  <p><strong>Htaccess</strong></p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews -Indexes
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      # Handle Authorization Header
      RewriteCond %{HTTP:Authorization} .
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  
      # Redirect Trailing Slashes If Not A Folder...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} (.+)/$
      RewriteRule ^ %1 [L,R=301]
  
      # Send Requests To Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>