diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-05-09 20:04:01 -0400 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-05-09 20:04:01 -0400 |
commit | e4a3abdd207cce37c4f71ed87d0c420ec8539775 (patch) | |
tree | 58f5b025711942231e6a7d0a05b655a8e35ea076 | |
parent | 85ae39fee87fb93d2028cdc0737dcd98006fe11e (diff) |
Change upload code to use new uploadify urls.
-rw-r--r-- | modules/gallery/tests/xss_data.txt | 2 | ||||
-rw-r--r-- | modules/gallery/views/form_uploadify.html.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/xss_data.txt b/modules/gallery/tests/xss_data.txt index d3d96878..8504de3a 100644 --- a/modules/gallery/tests/xss_data.txt +++ b/modules/gallery/tests/xss_data.txt @@ -180,7 +180,7 @@ modules/gallery/views/error_admin.html.php 286 DIRTY_ATTR $env modules/gallery/views/error_admin.html.php 296 DIRTY Kohana_Exception::safe_dump($value,$key) modules/gallery/views/form_uploadify.html.php 16 DIRTY_JS url::site("uploader/status/_S/_E") modules/gallery/views/form_uploadify.html.php 24 DIRTY_JS $flash_minimum_version -modules/gallery/views/form_uploadify.html.php 28 DIRTY_JS url::file("lib/uploadify/uploadify.swf") +modules/gallery/views/form_uploadify.html.php 28 DIRTY_JS url::file("lib/uploadify/uploadify.php") modules/gallery/views/form_uploadify.html.php 29 DIRTY_JS url::site("uploader/add_photo/{$album->id}") modules/gallery/views/form_uploadify.html.php 31 DIRTY_JS implode(";",$extensions) modules/gallery/views/form_uploadify.html.php 33 DIRTY_JS url::file("lib/uploadify/cancel.png") diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php index c13e3418..4963d185 100644 --- a/modules/gallery/views/form_uploadify.html.php +++ b/modules/gallery/views/form_uploadify.html.php @@ -25,7 +25,7 @@ $("#g-uploadify").uploadify({ width: 298, height: 32, - uploader: "<?= url::file("lib/uploadify/uploadify.swf") ?>", + uploader: "<?= url::file("lib/uploadify/uploadify.php") ?>", script: "<?= url::site("uploader/add_photo/{$album->id}") ?>", scriptData: <?= json_encode($script_data) ?>, fileExt: "<?= implode(";", $extensions) ?>", |