Skip to content

fix: Runtime PHP UI sends [object HTMLDataElement] instead of vhost hostname, causing InvalidFqdn #312

@mendesmaicon

Description

@mendesmaicon

When updating PHP settings from the Infinite OS web UI, the request fails with InvalidFqdn.

The same change works normally through the CLI on the same server, so the backend/runtime update itself is working.
os runtime php update-setting --name="memory_limit" --value="256M" --version="8.2"

The problem seems to be in the frontend request generation.

When clicking Apply changes in: Runtime -> PHP the UI returns an InvalidFqdn error.

Looking at the browser devtools, the failing request is being sent to:

https://domain.com:1618/api/v1/runtime/php/[object%20HTMLDataElement]/

The issue was originally observed on v2.5. After updating to the latest available version, v2.7, the problem still persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions