Submit links breaks URL
Idriel opened this issue · 1 comments
Hi,
Submit links in WildFire API will not take submit URL/String but it'll break URL on characters.
Example for: https://www.test.com/
{'wildfire': {'submit-link-info': [{'url': 'h', 'sha256': 'aaa9402664f1a41f40ebbc52c9993eb66aeb366602958fdfaa283b71e64db123', 'md5': '2510c39011c5be704182423e3a695e91'}, {'url': 't', 'sha256': 'e3b98a4da31a127d4bde6e43033f66ba274cab0eb7eb1c70ec41402bf6273dd8', 'md5': 'e358efa489f58062f10dd7316b65649e'}, {'url': 't', 'sha256': 'e3b98a4da31a127d4bde6e43033f66ba274cab0eb7eb1c70ec41402bf6273dd8', 'md5': 'e358efa489f58062f10dd7316b65649e'}, {'url': 'p', 'sha256': '148de9c5a7a44d19e56cd9ae1a554bf67847afb0c58f6e12fa29ac7ddfca9940', 'md5': '83878c91171338902e0fe0fb97a8c47a'}, {'url': 's', 'sha256': '043a718774c572bd8a25adbeb1bfcd5c0256ae11cecf9f9c3f925d0e52beaf89', 'md5': '03c7c0ace395d80182db07ae2c30f034'}, {'url': ':', 'sha256': 'e7ac0786668e0ff0f02b62bd04f45ff636fd82db63b1104601c975dc005f3a67', 'md5': '853ae90f0351324bd73ea615e6487517'}, {'url': '/', 'sha256': '8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1', 'md5': '6666cd76f96956469e7be39d750cc7d9'}, {'url': '/', 'sha256': '8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1', 'md5': '6666cd76f96956469e7be39d750cc7d9'}, {'url': 'w', 'sha256': '50e721e49c013f00c62cf59f2163542a9d8df02464efeb615d31051b0fddc326', 'md5': 'f1290186a5d0b1ceab27f4e77c0c5d68'}, {'url': 'w', 'sha256': '50e721e49c013f00c62cf59f2163542a9d8df02464efeb615d31051b0fddc326', 'md5': 'f1290186a5d0b1ceab27f4e77c0c5d68'}, {'url': 'w', 'sha256': '50e721e49c013f00c62cf59f2163542a9d8df02464efeb615d31051b0fddc326', 'md5': 'f1290186a5d0b1ceab27f4e77c0c5d68'}, {'url': '.', 'sha256': 'cdb4ee2aea69cc6a83331bbe96dc2caa9a299d21329efb0336fc02a82e1839a8', 'md5': '5058f1af8388633f609cadb75a75dc9d'}, {'url': 't', 'sha256': 'e3b98a4da31a127d4bde6e43033f66ba274cab0eb7eb1c70ec41402bf6273dd8', 'md5': 'e358efa489f58062f10dd7316b65649e'}, {'url': 'e', 'sha256': '3f79bb7b435b05321651daefd374cdc681dc06faa65e374e38337b88ca046dea', 'md5': 'e1671797c52e15f763380b45e841ec32'}, {'url': 's', 'sha256': '043a718774c572bd8a25adbeb1bfcd5c0256ae11cecf9f9c3f925d0e52beaf89', 'md5': '03c7c0ace395d80182db07ae2c30f034'}, {'url': 't', 'sha256': 'e3b98a4da31a127d4bde6e43033f66ba274cab0eb7eb1c70ec41402bf6273dd8', 'md5': 'e358efa489f58062f10dd7316b65649e'}, {'url': '.', 'sha256': 'cdb4ee2aea69cc6a83331bbe96dc2caa9a299d21329efb0336fc02a82e1839a8', 'md5': '5058f1af8388633f609cadb75a75dc9d'}, {'url': 'c', 'sha256': '2e7d2c03a9507ae265ecf5b5356885a53393a2029d241394997265a1a25aefc6', 'md5': '4a8a08f09d37b73795649038408b5f33'}, {'url': 'o', 'sha256': '65c74c15a686187bb6bbf9958f494fc6b80068034a659a9ad44991b08c58f2d2', 'md5': 'd95679752134a2d9eb61dbd7b91c4bcc'}, {'url': 'm', 'sha256': '62c66a7a5dd70c3146618063c344e531e6d4b59e379808443ce962b3abd63c5a', 'md5': '6f8f57715090da2632453988d9a1501b'}, {'url': '/', 'sha256': '8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1', 'md5': '6666cd76f96956469e7be39d750cc7d9'}]}}
find issue, links expect list not string. Converted single URL from string into list does the trick.