(s)
| 207 | } |
| 208 | |
| 209 | function isCleanStr(s){ |
| 210 | var str = decodeURI(s); |
| 211 | var patrn = /^([\u4E00-\u9FA5]|[\uFE30-\uFFA0]|[A-Za-z0-9\+\/\=\_\-\.\【\】\[\]\:\|\!\~\#\$\%\^\&\*\(\)\+\?\<\>\《\》\@\`])+$/gi; |
| 212 | return(patrn.test(str)); |
| 213 | } |
| 214 | |
| 215 | function base64decode(a) { |
| 216 | var b, c, d, e, f, g, h; |
no outgoing calls
no test coverage detected