-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
ReGaHss: elseif() innerhalb while() #404
Labels
Milestone
Comments
jens-maus
changed the title
Skriptprogrammierung: elseif() innerhalb while()
ReGaHss: elseif() innerhalb while()
Sep 19, 2018
jens-maus
added
🏷️ ReGaHss
This refs the ReGaHss component
🐛 bug-report
Something isn't working
labels
Sep 19, 2018
jens-maus
added a commit
to jens-maus/occu-test
that referenced
this issue
Oct 27, 2018
Please note that the automatic ReGaHss tests also show/demonstrate this issue: |
eq-3-occu
pushed a commit
to eq-3/occu
that referenced
this issue
Dec 12, 2018
* fixed string backslash unescaping routines to correctly unescape double backslash uses and thus allow to define e.g. \t by using a "\\t" string which were not possible before. 2018-12-07 Jens Maus <mail@jens-maus.de> * implemented missing 'break' and 'continue' statements to break out of while() and foreach() loops and to also continue with the next iteration like this is commonly performed in other script languages. This refs jens-maus/RaspberryMatic#224 2018-12-06 Jens Maus <mail@jens-maus.de> * fixed bug where elseif() within a while/foreach() loop didn't work as expected but was quiting the loop too early. This fixes jens-maus/RaspberryMatic#404 2018-12-05 Jens Maus <mail@jens-maus.de> * fixed webserver to only create and reserve a session ID in case a successfull user login is performed (either manual or autologin). This should prevent from Denial-of-Service (DoS) situations where certain internal service could send multiple web requests to identify if a http server is running and thus could eat up all available session slots ending up in "Zu viele gleichzeitige Verbindungen" errors. NOTE: This change requires that the file /www/rega/index.htm will contain a small change so that "SessionId" is not a mandatory variable anymore. 2018-11-27 Jens Maus <mail@jens-maus.de> * fixed http response to manage more than 800kb of response payload so that the internal web server of ReGaHss can manage way larger http response data. This should finally allow to, e.g. serve larger system variables http displays at Settings -> Systemvariables with e.g. ~1k of system variables or with longer device list web pages.
eq-3-occu
pushed a commit
to eq-3/occu
that referenced
this issue
Dec 12, 2018
* fixed string backslash unescaping routines to correctly unescape double backslash uses and thus allow to define e.g. \t by using a "\\t" string which were not possible before. 2018-12-07 Jens Maus <mail@jens-maus.de> * implemented missing 'break' and 'continue' statements to break out of while() and foreach() loops and to also continue with the next iteration like this is commonly performed in other script languages. This refs jens-maus/RaspberryMatic#224 2018-12-06 Jens Maus <mail@jens-maus.de> * fixed bug where elseif() within a while/foreach() loop didn't work as expected but was quiting the loop too early. This fixes jens-maus/RaspberryMatic#404 2018-12-05 Jens Maus <mail@jens-maus.de> * fixed webserver to only create and reserve a session ID in case a successfull user login is performed (either manual or autologin). This should prevent from Denial-of-Service (DoS) situations where certain internal service could send multiple web requests to identify if a http server is running and thus could eat up all available session slots ending up in "Zu viele gleichzeitige Verbindungen" errors. NOTE: This change requires that the file /www/rega/index.htm will contain a small change so that "SessionId" is not a mandatory variable anymore. 2018-11-27 Jens Maus <mail@jens-maus.de> * fixed http response to manage more than 800kb of response payload so that the internal web server of ReGaHss can manage way larger http response data. This should finally allow to, e.g. serve larger system variables http displays at Settings -> Systemvariables with e.g. ~1k of system variables or with longer device list web pages.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Das
elseif()
funktioniert nicht innerhalb einerwhile()
Schleife. Die Schleife wird nach dem 1. elseif abgebrochen. Ob auchforeach()
betroffen ist, habe ich nicht überprüft.Skript zum Nachstellen des Fehlers:
Ausgabe:
Erwartete Ausgabe:
The text was updated successfully, but these errors were encountered: