View Issue Details
Category | |||||
---|---|---|---|---|---|
SSPBT:本体(SSP) | |||||
Severity | minor | Reproducibility | always | ||
Status | closed | ||||
Fixed in Version | 2.4 (リリース) | ||||
Summary | 0000128: \![execute,http-post]で複数パラメータ送信できない | ||||
Description | \![execute,http-post]で--paramオプションを指定した際、パラメータが複数あった場合に2個目以降のパラメータが送られませんでした。 ベースウェアはSSP/2.4.90、 OSはWindows10、 アプリは以下のプラグインで確認しています。 https://sosiremi.appspot.com/plugin/recghost_plus/ なお、SSP/2.4.85では送信されました。 ただし、SSP/2.4.85でも1個目のパラメータの値が無くなっている現象を確認しています。 | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
|
「SSP/2.4.85でも1個目のパラメータの値が無くなっている現象」 が再現しなかったため訂正し改めて報告します。 送信先は以下のような検証用PHPファイルを用意しています。 =================================================================== <?php $checkkeys = array( 'key1' ,'key2' ,'key3' ); $res = '[result]'. "\n"; foreach ($checkkeys as $key) { if (isset($_POST[$key])) { $res = $res. 'key: '. $key. ', value: '. $_POST[$key]. "\n"; } } print $res; ?> =================================================================== SSP/2.4.90での検証結果が以下の通りです。 =================================================================== <<SSP/2.4.90>> (1-1) [SakuraScript] \![execute,http-post,【URL】,--param=key1=value1] [result] key: key1, value: key1 (1-2) [SakuraScript] \![execute,http-post,【URL】,--param=key1=value1,--param=key2=value2,--param=key3=value3] [result] key: key1, value: key1key2=key2key3=key3 (1-3) [SakuraScript] \![execute,http-post,【URL】,--param=key1=value1&key2=value2&key3=value3] [result] key: key1, value: value1 (2-1) [SakuraScript] \![execute,http-post,【URL】,--param=key1=ほげ] [result] key: key1, value: ほげ (2-2) [SakuraScript] \![execute,http-post,【URL】,--param=key1=ほげ,--param=key2=ふが,--param=key3=ぴよ] [result] key: key1, value: ほげkey2=ふがkey3=ぴよ (2-3) [SakuraScript] \![execute,http-post,【URL】,--param=key1=ほげ&key2=ふが&key3=ぴよ] [result] key: key1, value: ほげ =================================================================== SSP/2.4.85での検証結果が以下の通りです。 =================================================================== <<SSP/2.4.85>> (1-1) [SakuraScript] \![execute,http-post,【URL】,--param=key1=value1] [result] key: key1, value: value1 (1-2) [SakuraScript] \![execute,http-post,【URL】,--param=key1=value1,--param=key2=value2,--param=key3=value3] [result] key: key1, value: value1 key2=value2 key3=value3 (1-3) [SakuraScript] \![execute,http-post,【URL】,--param=key1=value1&key2=value2&key3=value3] [result] key: key1, value: value1 key: key2, value: value2 key: key3, value: value3 (2-1) [SakuraScript] \![execute,http-post,【URL】,--param=key1=ほげ] [result] key: key1, value: ほげ (2-2) [SakuraScript] \![execute,http-post,【URL】,--param=key1=ほげ,--param=key2=ふが,--param=key3=ぴよ] [result] key: key1, value: ほげ key2=ふが key3=ぴよ (2-3) [SakuraScript] \![execute,http-post,【URL】,--param=key1=ほげ&key2=ふが&key3=ぴよ] [result] key: key1, value: ほげ key: key2, value: ふが key: key3, value: ぴよ =================================================================== SSP/2.4.90において、(2-1)の場合のみ期待した結果となりました。 SSP/2.4.85において、(1-1)(1-3)(2-1)(2-3)の場合に期待した結果となりました。 |
|
2.4.92 FIXED |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-02-06 14:50 | guest | New Issue | |
2021-02-09 12:00 | guest | Note Added: 0000245 | |
2021-03-01 18:11 | ponapalt | Relationship added | has duplicate 0000118 |
2021-03-01 18:11 | ponapalt | Assigned To | => ponapalt |
2021-03-01 18:11 | ponapalt | Status | new => assigned |
2021-03-14 21:29 | ponapalt | Status | assigned => closed |
2021-03-14 21:29 | ponapalt | Resolution | open => fixed |
2021-03-14 21:29 | ponapalt | Fixed in Version | => 2.4 (リリース) |
2021-03-14 21:29 | ponapalt | Note Added: 0000260 |