phantompdf icon indicating copy to clipboard operation
phantompdf copied to clipboard

PhantomJS crashed by un-well formatted asset url

Open mcspring opened this issue 11 years ago • 2 comments

such as:

  • href="//example.com/style.css"
  • src="//excample.com/logo.png"

mcspring avatar Oct 14 '13 08:10 mcspring

Technically, this is well formatted (at least according to ruby):

irb(main):002:0> URI.parse("//google.com")
=> #<URI::Generic //google.com>

Any idea what the crash was?

apanzerj avatar Oct 06 '17 15:10 apanzerj

@apanzerj It relates to webkit or javascript. It crashes generation when the DOM contains resources without scheme.

mcspring avatar Oct 07 '17 03:10 mcspring