Closed BenSpencer closed 11 years ago
We should have a bit of logic already like this as part of the argument parsing logic. We could try to reuse some of this.
See the bottom of the parseCmd function in artemis.cpp
Thanks for the tip... I was hoping there would be something like this.
Hi Casper, Have you made any changes (e.g. to ArtemisWebView) which might have affected this? I was just trying to fix this but can't actually reproduce the problem now.
If not, do you think it could be related to our other strange bugs?
I should not have changed anything related to that. The only crash related bug I have fixed was something related to the shutdown sequence of Artemis.
On 20 June 2013 16:53, Ben Spencer notifications@github.com wrote:
Hi Casper, Have you made any changes (e.g. to ArtemisWebView) which might have affected this? I was just trying to fix this but can't actually reproduce the problem now.
If not, do you think it could be related to our other strange bugs?
— Reply to this email directly or view it on GitHubhttps://github.com/cs-au-dk/Artemis/issues/53#issuecomment-19758359 .
When changing page using the address bar in the new demo mode if you choose an invalid URL then it crashes out immediately. Unfortunately this even includes things like "www.google.com" instead of "http://www.google.com". Need to add some checking and an error message instead of a crash. Possibly also some "guessing" of the intended URL, such as automatically adding "http://" or "www.".