Thanks to visit codestin.com
Credit goes to github.com

Skip to content

extra info at end of URL not passed through in Windows #6

@GrahamAsher

Description

@GrahamAsher

A URL like

http://localhost/maps/torridon.ctm1?type=metadata

does not work properly because the extra info '?type=metadata' is stripped from the URL in the Windows implementation of the Naett library.

The fix is to change this line:

naett/naett.c

Line 1198 in e44a499

req->resource = wcsndup(components.lpszUrlPath, components.dwUrlPathLength);

to

req->resource = wcsndup(components.lpszUrlPath, components.dwUrlPathLength + components.dwExtraInfoLength);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions