You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case the URL doesn't contain a path, e.g. https://github.com, the mime type gets detected by guessContentTypeFromName and the object is injected correctly. In case when it has to detect mime type from the stream, it fails.
The text was updated successfully, but these errors were encountered:
leshik
changed the title
Capacitor object injection broken for URLs with path & AllowNavigation
Capacitor object injection broken for URLs with path & allowNavigation
Jul 18, 2019
Once again, #1574 broke my use case.
Description of the problem:
Affected platform
Other information: guessContentTypeFromStream isn't working.
Capacitor version: 1.1.0
Steps to reproduce:
Start a fresh project.
capacitor.config.json:
www/index.html:
Result:
Capacitor
object isn't injected.In case the URL doesn't contain a path, e.g.
https://github.com
, the mime type gets detected byguessContentTypeFromName
and the object is injected correctly. In case when it has to detect mime type from the stream, it fails.The text was updated successfully, but these errors were encountered: