[GH-ISSUE #197] Can't delete Hostname on Safari #81

Closed
opened 2026-02-26 04:33:59 +03:00 by kerem · 2 comments
Owner

Originally created by @YasserAntonio on GitHub (May 18, 2020).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/197

What is Happening

After adding a new hostname. I click on the red trash button.
A message in a red block state that hostname do not exist.
The hostname is still on the front end and in the config.json

What is expected

I expect for the hostname to be delated on the front end and in the config.json

Specs:

  • OS: Debian GNU/Linux 10 (buster)
  • Docker Version: 19.03.4
  • DPS Version: 2.19.0
  • DPS Logs:
  • Navigator : Safari 13.1
020-05-18T16:30:21.446312209Z 2020/05/18 16:30:21.445861 INFO f=index.go:75 pkg=github.com/mageddo/dns-proxy-server/vendor/github.com/mageddo/go-httpmap.handle m=func1 m=/hostname/, status=begin, action=delete-hostname
2020-05-18T16:30:21.446505801Z 2020/05/18 16:30:21.446016 INFO f=index.go:75 pkg=github.com/mageddo/dns-proxy-server/vendor/github.com/mageddo/go-httpmap.handle m=func1 m=/hostname/, status=parsed-host, action=delete-hostname, host={Id: Hostname: Ip:[0 0 0 0] Target: Ttl:0 Type: Env:}
2020-05-18T16:30:21.448290481Z 2020/05/18 16:30:21.447997 INFO f=localvo.go:231 pkg=github.com/mageddo/dns-proxy-server/events/local/localvo.(*Configuration) m=RemoveHostnameByEnvAndHostname status=begin, envName=, hostname=
2020-05-18T16:30:21.448900896Z 2020/05/18 16:30:21.448661 INFO f=index.go:75 pkg=github.com/mageddo/dns-proxy-server/vendor/github.com/mageddo/go-httpmap.handle m=func1 m=/hostname/, status=error, action=delete-hostname, err=%!v(MISSING)
2020-05-18T16:30:21.449048239Z hostname not found
2020-05-18T16:30:21.449093291Z goroutine 588 [running]:
2020-05-18T16:30:21.449152717Z runtime/debug.Stack(0x115d4d0, 0x3cf7c1, 0x12)


Originally created by @YasserAntonio on GitHub (May 18, 2020). Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/197 ### What is Happening After adding a new hostname. I click on the red trash button. A message in a red block state that hostname do not exist. The hostname is still on the front end and in the config.json ### What is expected I expect for the hostname to be delated on the front end and in the config.json **Specs:** - OS: Debian GNU/Linux 10 (buster) - Docker Version: 19.03.4 - DPS Version: 2.19.0 - DPS Logs: - Navigator : Safari 13.1 ``` 020-05-18T16:30:21.446312209Z 2020/05/18 16:30:21.445861 INFO f=index.go:75 pkg=github.com/mageddo/dns-proxy-server/vendor/github.com/mageddo/go-httpmap.handle m=func1 m=/hostname/, status=begin, action=delete-hostname 2020-05-18T16:30:21.446505801Z 2020/05/18 16:30:21.446016 INFO f=index.go:75 pkg=github.com/mageddo/dns-proxy-server/vendor/github.com/mageddo/go-httpmap.handle m=func1 m=/hostname/, status=parsed-host, action=delete-hostname, host={Id: Hostname: Ip:[0 0 0 0] Target: Ttl:0 Type: Env:} 2020-05-18T16:30:21.448290481Z 2020/05/18 16:30:21.447997 INFO f=localvo.go:231 pkg=github.com/mageddo/dns-proxy-server/events/local/localvo.(*Configuration) m=RemoveHostnameByEnvAndHostname status=begin, envName=, hostname= 2020-05-18T16:30:21.448900896Z 2020/05/18 16:30:21.448661 INFO f=index.go:75 pkg=github.com/mageddo/dns-proxy-server/vendor/github.com/mageddo/go-httpmap.handle m=func1 m=/hostname/, status=error, action=delete-hostname, err=%!v(MISSING) 2020-05-18T16:30:21.449048239Z hostname not found 2020-05-18T16:30:21.449093291Z goroutine 588 [running]: 2020-05-18T16:30:21.449152717Z runtime/debug.Stack(0x115d4d0, 0x3cf7c1, 0x12) ```
kerem 2026-02-26 04:33:59 +03:00
Author
Owner

@YasserAntonio commented on GitHub (May 18, 2020):

Seems like the problem is isolated with Safari. I have no issue with google chrome. It must be a front end issue and it's exclusively related to the delete button with safari. I will edit the title

<!-- gh-comment-id:630323408 --> @YasserAntonio commented on GitHub (May 18, 2020): Seems like the problem is isolated with Safari. I have no issue with google chrome. It must be a front end issue and it's exclusively related to the delete button with safari. I will edit the title
Author
Owner

@mageddo commented on GitHub (Jun 10, 2024):

Hey @YasserAntonio , Sorry for the late answer, Finally I had access to a Mac computer and confirmed this bug at DPS version you reported, with safari Version 17.5 (19618.2.12.11.6).

It's fixed on my tests at the latest version of DPS 3.19, so I suggest you to upgrade DPS.

Thanks for your report.

<!-- gh-comment-id:2158202384 --> @mageddo commented on GitHub (Jun 10, 2024): Hey @YasserAntonio , Sorry for the late answer, Finally I had access to a Mac computer and confirmed this bug at DPS version you reported, with safari Version 17.5 (19618.2.12.11.6). It's fixed on my tests at the latest version of DPS 3.19, so I suggest you to upgrade DPS. Thanks for your report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dns-proxy-server-mageddo#81
No description provided.