{"push_id":1255690055,"size":2,"distinct_size":2,"ref":"refs/heads/issue-1643-api-url-import","head":"8f0bcec30eb534491d7bdd9892d63f96476c7953","before":"31cf8f49f19b6e88e1cb28576e82afda3130d113","commits":[{"sha":"08ed2b0990a2573b161a5a5d052e355dac2032c3","author":{"name":"kingthorin","email":"e97299ebfd027eda703bed5b5871461d8910cf90@users.noreply.github.com"},"message":"Add URL Import API\n\nAdd ImportUrlsAPI which accepts a simple parameter filePath. Expecting a\nZAP URL export or plain text file containing a single URL per line.\n\nAdjust ExtensionImportUrls:\n- hook, now includes registration of the API implementor.\n- importUrlFile, modified slightly. It had been assuming that the method\non every line of ZAP URL exports was GET. Now instead of assuming ZAP\nformatted exports start with GET it checks if the line starts with http.\nIf not it assumes everything up to the first tab is the method.\n- Update help file to include mentioning the web API endpoint.\n\nNote: The import function still assumes that all URLs are accessible via \nGET. This should largely be true, and it is doubtful that we would find\nmuch benefit in trying the original (exported) method, because for\nexample on a POST we wouldn't have the necessary parameters (same for a\nPUT, or some sort of webdav method).\n\nFixes zaproxy/zaproxy#1643","distinct":true,"url":"https://api.github.com/repos/kingthorin/zap-extensions/commits/08ed2b0990a2573b161a5a5d052e355dac2032c3"},{"sha":"8f0bcec30eb534491d7bdd9892d63f96476c7953","author":{"name":"kingthorin","email":"e97299ebfd027eda703bed5b5871461d8910cf90@users.noreply.github.com"},"message":"Add URL Import API\n\nAdd ImportUrlsAPI which accepts a simple parameter filePath. Expecting a\nZAP URL export or plain text file containing a single URL per line.\n\nAdjust ExtensionImportUrls:\n- hook, now includes registration of the API implementor.\n- importUrlFile, modified slightly. It had been assuming that the method\non every line of ZAP URL exports was GET. Now instead of assuming ZAP\nformatted exports start with GET it checks if the line starts with http.\nIf not it assumes everything up to the first tab is the method.\n- Update help file to include mentioning the web API endpoint.\n\nNote: The import function still assumes that all URLs are accessible via \nGET. This should largely be true, and it is doubtful that we would find\nmuch benefit in trying the original (exported) method, because for\nexample on a POST we wouldn't have the necessary parameters (same for a\nPUT, or some sort of webdav method).\n\nFixes zaproxy/zaproxy#1643","distinct":true,"url":"https://api.github.com/repos/kingthorin/zap-extensions/commits/8f0bcec30eb534491d7bdd9892d63f96476c7953"}]}
{"actor":{"display_login":"kingthorin"}}