Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Padding #37340

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Add Padding #37340

wants to merge 10 commits into from

Conversation

BEAdi
Copy link
Contributor

@BEAdi BEAdi commented Nov 21, 2024

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: https://jira-dc.paloaltonetworks.com/browse/XSUP-44110

Description

Add padding to decoding a base 64 image to binary, to avoid "Incorrect padding" error.

Must have

  • Tests
  • Documentation

@BEAdi BEAdi requested a review from tcarmeli1 November 21, 2024 10:20
@BEAdi BEAdi self-assigned this Nov 21, 2024
Copy link

github-actions bot commented Nov 21, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/Base/Scripts/CommonServerPython
   CommonServerPython.py456771384%170–173, 184, 186, 422, 464, 560, 586–590, 615, 630, 770–771, 780, 821–822, 840, 870–874, 878–880, 922, 1009–1017, 1061–1066, 1100–1102, 1232–1236, 1239–1240, 1242–1244, 1258–1260, 1262, 1328, 1341, 1354, 1362–1364, 1366, 1379, 1387, 1436–1437, 1484–1485, 1540, 1562–1563, 1566, 1572, 1574, 1576, 1651, 1654–1656, 1658, 1660, 1670, 1696, 1715, 1789–1790, 1794–1795, 1834–1835, 1849–1854, 1856, 1906–1907, 1924, 2007, 2009, 2029, 2059, 2063, 2105, 2284, 2308, 2347–2348, 2358–2360, 2428–2429, 2431, 2444–2451, 2453, 2530–2532, 2546, 2559, 2590, 2596–2600, 2602–2604, 2606, 2610–2611, 2613, 2626–2632, 2636, 2640–2642, 2648–2649, 2661, 2689, 2692, 2697, 2717, 2723, 2725, 2727, 2747, 2750, 2762, 2808–2816, 2818, 2877, 2899, 2919, 2977, 2989–2990, 3102, 3104, 3305, 3315, 3321, 3330, 3336, 3350, 3406, 3415, 3418, 3421, 3424, 3427, 3430, 3439, 3441, 3472–3477, 3480, 3531–3532, 3535, 3701–3702, 3705, 3812, 3815, 4066, 4069, 4072, 4075, 4080, 4089, 4115, 4121, 4124, 4130, 4133, 4136, 4139, 4142, 4151, 4153, 4269–4270, 4294, 4296, 4315, 4318, 4321, 4389, 4410, 4412, 4574, 4592, 4604, 4634, 4637, 4643, 4646, 4649, 4658, 4660, 4860–4861, 4880, 4883, 4886, 4889, 4895, 4957, 4959, 4984, 4999–5015, 5018, 5022–5023, 5025–5026, 5028–5029, 5031–5032, 5034–5035, 5037–5038, 5040–5041, 5043–5044, 5046–5047, 5049–5050, 5052–5053, 5055–5056, 5058–5059, 5061, 5063–5064, 5066–5069, 5071–5073, 5075, 5077, 5081, 5157, 5197, 5203, 5205, 5215, 5253, 5258–5259, 5264, 5268–5269, 5271, 5353, 5359, 5451, 5472, 5475–5480, 5488–5494, 5496–5497, 5542, 5555, 5650–5653, 5658, 5661, 5664, 5698, 5701, 5745, 5747, 5749, 5844, 5895, 5977, 5989, 6007, 6047–6048, 6052, 6054, 6088, 6092, 6094, 6096, 6098, 6144, 6148, 6247–6250, 6252, 6265, 6284, 6294, 6300, 6309–6311, 6314–6317, 6332, 6374, 6403, 6406, 6455–6458, 6461–6465, 6469, 6477, 6483, 6511, 6540, 6546–6547, 6598, 6618–6619, 6621, 6661–6662, 6669, 6674, 6680, 6693–6694, 6696, 6967–6969, 6988, 7001, 7013, 7041, 7201, 7216, 7281, 7311, 7353–7354, 7366, 7381–7382, 7384–7385, 7387–7388, 7390–7391, 7393–7396, 7398, 7400–7401, 7403, 7482–7483, 7495, 7539–7542, 7544, 7551–7552, 7712, 7767, 7802, 7822, 7824, 7925, 8040, 8085–8088, 8090–8092, 8151, 8170–8171, 8183, 8199, 8220–8221, 8223, 8240, 8327, 8341, 8344–8347, 8350, 8353, 8375–8378, 8475, 8494–8495, 8613, 8631, 8662, 8718, 8722–8723, 8737, 8740, 8753–8755, 8758, 8830, 9000–9001, 9081–9082, 9126–9127, 9129, 9132, 9143, 9149–9152, 9154, 9156, 9158–9159, 9275, 9400, 9414, 9417, 9621, 9630, 9696–9697, 9701, 9762–9765, 9767, 9789, 9801, 9897, 9933–9934, 9947, 9960–9965, 9981–9982, 9990–9991, 10004, 10012–10013, 10030–10031, 10045, 10055, 10071, 10082, 10090–10092, 10094, 10120, 10135, 10146, 10164–10165, 10168, 10186, 10189, 10204, 10218, 10224, 10239, 10256, 10268–10276, 10279–10280, 10282, 10297–10299, 10310, 10313, 10384, 10402, 10428, 10435, 10479, 10505–10506, 10549, 10551–10553, 10555, 10626, 10635, 10756, 10776, 10820, 10824–10825, 10916–10921, 11016–11019, 11109–11111, 11137, 11170, 11220–11221, 11226–11227, 11244, 11330–11332, 11351, 11559, 11675, 11699, 11722, 11747, 11754–11760, 11762, 11764, 11909, 11958–11959, 11961–11968, 11973–11975, 11977, 11979, 12087–12088, 12106, 12144–12145, 12149, 12189, 12192, 12194–12195, 12197, 12199, 12201, 12203–12206, 12208, 12210–12211, 12215–12217, 12250
Packs/MicrosoftExchangeOnPremise/Integrations/EWSv2
   EWSv2.py3252891%86–87, 91–92, 715–716, 906, 921, 943, 948–949, 960, 965, 1378–1386, 1760–1761, 1769, 1773, 1777, 2151
Packs/MicrosoftGraphMail/Integrations/MicrosoftGraphListener
   MicrosoftGraphListener.py420100% 
Packs/MicrosoftGraphMail/Integrations/MicrosoftGraphMail
   MicrosoftGraphMail.py410100% 
TOTAL497574185% 

Tests Skipped Failures Errors Time
5257 84 💤 0 ❌ 1 🔥 -73184706.215s ⏱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant