fireshaper / Omnibus

Search for and download comics that are added to GetComics.info easily
Apache License 2.0
181 stars 13 forks source link

Unhandled exception has occurred in your application. The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. #10

Closed ronamregins closed 3 years ago

ronamregins commented 3 years ago

Describe the bug Unhandled exception has occurred in your application. The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

To Reproduce Steps to reproduce the behavior:

  1. Open Omnibus v1.4.8.1
  2. Follow setup instructions. Used Microsoft Edge as Browser, also tried with Mozilla Firefox but same error
  3. Search for comic. Click download.
  4. See error

Expected behavior Download should have started.

Screenshots Screenshot 2020-10-14 065900 image image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

fireshaper commented 3 years ago

I see two things it might be. It's either that I'm not handling the Yen sign correctly as the file separator or there's a space in your _cfduid: "[...]59b 160[...]". Can you make sure that there's not a space in the cookie?

ronamregins commented 3 years ago

Alright, I'll check it out. Update you tomorrow

hbllq commented 3 years ago

I have the same bug. My folder structure is the usual C:\users\username\documents format and I have checked that my cfduid has no spaces so I don't think it's that. If I press the more details button I get this:

"at System.Convert.FromBase64_Decode(Char startInputPtr, Int32 inputLength, Byte startDestPtr, Int32 destLength) at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) at System.Convert.FromBase64String(String s) at Omnibus.Form1.d__28.MoveNext() in C:\Users\Rory\source\repos\Omnibus\Comic Search\Form1.cs:regel 274"

fireshaper commented 3 years ago

The problem was that getcomics.info stopped encrypting their MEGA links. I've got a check in there now to see if the link is an encrypted string or not, then it will give you the right one. New release is available: https://github.com/fireshaper/Omnibus/tree/1.4.8.2

ronamregins commented 3 years ago

Issue resolved for me with the 1.4.8.2 update. Will close this issue. Thanks!