Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gallery-demo.php encoding of 'wicked' images fixed: forgot to add a R…

…FC3986 encode call to convert 'plain vanilla' path to something that's W3C/browser compliant.
  • Loading branch information...
commit e27c32231caf5ba336add81dbae81568662b3582 1 parent bf86019
@GerHobbelt GerHobbelt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Demos/gallery-demo.php
View
2  Demos/gallery-demo.php
@@ -179,7 +179,7 @@
var el = new Element('div').adopt(
new Element('a', {
- href: full_path,
+ href: mgr.escapeRFC3986(full_path),
title: input2html(caption), // encode as HTML, suitable for attribute values
'data-milkbox': 'gall1',
'data-milkbox-size': 'width: ' + metadata.width + ', height: ' + metadata.height,
Please sign in to comment.
Something went wrong with that request. Please try again.