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

Fixed OtaMagic handling having minus "-" within OtaUrl #3563

Merged
merged 1 commit into from
Aug 23, 2018

Conversation

curzon01
Copy link
Contributor

if OtaUrl contains "-" within url (not the filename), OtaMagic fails:

Example
OtaUrl http://tasmota.my-server.local/sonoff.bin exceeds 512k so OtaMagic starts work.

but it try to load http://tasmota.my-minimal.bin instead of http://tasmota.my-server.local/sonoff-minimal.bin

patch works also with - within firmware name e. g. OtaUrl http://tasmota.my-server.local/sonoff-nl.bin

@arendst arendst merged commit 9538ff9 into arendst:development Aug 23, 2018
arendst added a commit that referenced this pull request Aug 23, 2018
6.1.1.9
 * Allow user override of define MAX_RULE_TIMERS (#3561)
 * Allow user override of define MAX_RULE_VARS
 * Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (#2525)
 * Fix OtaMagic when file path contains a dash (-) (#3563)
curzon01 pushed a commit to curzon01/Tasmota that referenced this pull request Sep 7, 2018
Fixed OtaMagic handling having minus "-" within OtaUrl
curzon01 pushed a commit to curzon01/Tasmota that referenced this pull request Sep 7, 2018
6.1.1.9
 * Allow user override of define MAX_RULE_TIMERS (arendst#3561)
 * Allow user override of define MAX_RULE_VARS
 * Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (arendst#2525)
 * Fix OtaMagic when file path contains a dash (-) (arendst#3563)
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.

2 participants