Changeset 2652
- Timestamp:
- May 1, 2007, 3:01:40 PM (13 years ago)
- Location:
- OpenPNE/branches/2.6.x
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/2.6.x/public_html/cmd/flipclip.net.js
r321 r2652 1 1 //MASTER:flipclip.net.js SLAVE:www.flipclip.net.js 2 2 function url2cmd(url) { 3 if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/[a-zA-Z0-9_ -]+\/([a-zA-Z0-9_-]+)\/?$/)) {3 if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/[a-zA-Z0-9_\-]+\/([a-zA-Z0-9_\-]+)\/?$/)) { 4 4 return; 5 5 } … … 9 9 10 10 function main(clipid) { 11 if (!clipid.match(/^[a-zA-Z0-9_ -]+$/)) {11 if (!clipid.match(/^[a-zA-Z0-9_\-]+$/)) { 12 12 return; 13 13 } -
OpenPNE/branches/2.6.x/public_html/cmd/sonetphoto.js
r1472 r2652 1 1 function main(member_name, type, sort) { 2 if (!member_name.match(/^[a-zA-Z0-9_ -]+$/)) {2 if (!member_name.match(/^[a-zA-Z0-9_\-]+$/)) { 3 3 return; 4 4 } -
OpenPNE/branches/2.6.x/public_html/cmd/video.google.com.js
r321 r2652 1 1 function url2cmd(url) { 2 if (!url.match(/^http:\/\/video\.google\.com\/videoplay\?docid=([0-9 -]+).*?$/)) {2 if (!url.match(/^http:\/\/video\.google\.com\/videoplay\?docid=([0-9\-]+).*?$/)) { 3 3 return; 4 4 } … … 9 9 10 10 function main(docid) { 11 if (!docid.match(/^[ -0-9]+$/)) {11 if (!docid.match(/^[0-9\-]+$/)) { 12 12 return; 13 13 } -
OpenPNE/branches/2.6.x/public_html/cmd/watchme.js
r1473 r2652 1 1 function main(id, width, height) { 2 if (!id.match(/^[a-zA-Z0-9_ -]+$/)) {2 if (!id.match(/^[a-zA-Z0-9_\-]+$/)) { 3 3 return; 4 4 } -
OpenPNE/branches/2.6.x/public_html/cmd/www.flipclip.net.js
r321 r2652 1 1 //MASTER:flipclip.net.js SLAVE:www.flipclip.net.js 2 2 function url2cmd(url) { 3 if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/[a-zA-Z0-9_ -]+\/([a-zA-Z0-9_-]+)\/?$/)) {3 if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/[a-zA-Z0-9_\-]+\/([a-zA-Z0-9_\-]+)\/?$/)) { 4 4 return; 5 5 } … … 9 9 10 10 function main(clipid) { 11 if (!clipid.match(/^[a-zA-Z0-9_ -]+$/)) {11 if (!clipid.match(/^[a-zA-Z0-9_\-]+$/)) { 12 12 return; 13 13 } -
OpenPNE/branches/2.6.x/public_html/cmd/www.watchme.tv.js
r1473 r2652 8 8 9 9 function main(id, width, height) { 10 if (!id.match(/^[a-zA-Z0-9_ -]+$/)) {10 if (!id.match(/^[a-zA-Z0-9_\-]+$/)) { 11 11 return; 12 12 } -
OpenPNE/branches/2.6.x/public_html/cmd/www.youtube.com.js
r1473 r2652 1 1 function url2cmd(url) { 2 if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_ -]+)/)) {2 if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_\-]+)/)) { 3 3 return; 4 4 } … … 10 10 11 11 function main(id, width, height) { 12 if (!id.match(/^[a-zA-Z0-9_ -]+$/)) {12 if (!id.match(/^[a-zA-Z0-9_\-]+$/)) { 13 13 return; 14 14 } -
OpenPNE/branches/2.6.x/public_html/cmd/youtube.com.js
r1473 r2652 1 1 function url2cmd(url) { 2 if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_ -]+)/)) {2 if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_\-]+)/)) { 3 3 return; 4 4 } … … 10 10 11 11 function main(id, width, height) { 12 if (!id.match(/^[a-zA-Z0-9_ -]+$/)) {12 if (!id.match(/^[a-zA-Z0-9_\-]+$/)) { 13 13 return; 14 14 } -
OpenPNE/branches/2.6.x/public_html/cmd/youtube.js
r1473 r2652 1 1 function main(id, width, height) { 2 if (!id.match(/^[a-zA-Z0-9_ -]+$/)) {2 if (!id.match(/^[a-zA-Z0-9_\-]+$/)) { 3 3 return; 4 4 } -
OpenPNE/branches/2.6.x/webapp/lib/OpenPNE/KtaiMail.php
r1784 r2652 250 250 // マッチした最後のものを取ってくるように変更 251 251 $matches = array(); 252 $regx = '/([\.\w!#$%&\'*+ -\/=?^`{|}~]+@[\w!#$%&\'*+-\/=?^`{|}~]+(\.[\w!#$%&\'*+-\/=?^`{|}~]+)*)/';252 $regx = '/([\.\w!#$%&\'*+\-\/=?^`{|}~]+@[\w!#$%&\'*+\-\/=?^`{|}~]+(\.[\w!#$%&\'*+\-\/=?^`{|}~]+)*)/'; 253 253 if (preg_match_all($regx, $str, $matches)) { 254 254 return array_pop($matches[1]); -
OpenPNE/branches/2.6.x/webapp/lib/smarty_plugins/modifier.t_cmd.php
r1472 r2652 11 11 } 12 12 13 $regexp = '/<cmd\s+src="(\w+)"(?:\s+args="([\w -\+%]+(,[\w-\+%]+)*)?")?\s*>/i';13 $regexp = '/<cmd\s+src="(\w+)"(?:\s+args="([\w\-\+%]+(,[\w\-\+%]+)*)?")?\s*>/i'; 14 14 $GLOBALS['_CMD']['type'] = $type; 15 15 -
OpenPNE/branches/2.6.x/webapp/lib/util/util.php
r2644 r2652 192 192 function db_common_is_mailaddress($value) 193 193 { 194 if (preg_match('/^[^:;@,\s]+@\w[\w -.]*\.[a-zA-Z]+$/', $value)) {194 if (preg_match('/^[^:;@,\s]+@\w[\w\-.]*\.[a-zA-Z]+$/', $value)) { 195 195 return true; 196 196 } else {
Note: See TracChangeset
for help on using the changeset viewer.