Jeckky / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Auth (basic) in URL : misplaced @ and : #460

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When reaching a resource behind BASIC (or Digest) authentication, it fails 
(example : a CSS by <link href="http://me:mypass@askywhale.com/site.css" ... 
/>).

It may be corrected in include/functions.inc.php :

-181        $host .= "@" . $arr["pass"];
-182
-183      $host .= ":";
+181        $host .= ":" . $arr["pass"];
+182
+183      $host .= "@";

Dompdf from 0.5 to 0.6b3, PHP5.3, etc.

Askywhale

Original issue reported on code.google.com by askywh...@gmail.com on 6 Apr 2012 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by fabien.menager on 7 Apr 2012 at 9:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r488.

Original comment by fabien.menager on 7 Apr 2012 at 2:52

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16