diff options
author | anekos | 2010-03-19 07:42:21 +0000 |
---|---|---|
committer | anekos | 2010-03-19 07:42:21 +0000 |
commit | d29ed30fedbe388dbff6e1301e83d01be5724141 (patch) | |
tree | 028045b8ff8da85f0b4b2d0c4db02591163bbea2 /bitly.js | |
parent | c8cabd611da051384a0486fa4f9f0b59c518ea6b (diff) | |
download | vimperator-plugins-d29ed30fedbe388dbff6e1301e83d01be5724141.tar.bz2 |
エンコードし忘れを修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37054 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'bitly.js')
-rw-r--r-- | bitly.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* NEW BSD LICENSE {{{ -Copyright (c) 2008, anekos. +Copyright (c) 2008-2010, anekos. All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -38,7 +38,7 @@ let PLUGIN_INFO = <name>bit.ly</name> <description>Get short alias by bit.ly</description> <description lang="ja">Bit.ly で短縮URLを得る</description> - <version>1.1.0</version> + <version>1.1.1</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -66,7 +66,7 @@ let PLUGIN_INFO = else throw new Error(req.statusText); }; - req.open('GET', 'http://bit.ly/api?url=' + uri, callback); + req.open('GET', 'http://bit.ly/api?url=' + encodeURIComponent(uri), callback); req.send(null); return !callback && req.responseText; } |