butschster / LaravelMetaTags

The most powerful and extendable tools for managing SEO Meta Tags in your Laravel project
MIT License
547 stars 51 forks source link

TypeError thrown if is null #63

Closed uintaam closed 7 months ago

uintaam commented 7 months ago

If closure is passed and it returns null, then a TypeError is thrown by the attributeElement. This happens with the CSRF token if the TrustedHosts middleware is used and an untrusted host hits the application.

butschster commented 7 months ago

Thx!