AjaxUploader
Search Results for

    Show / Hide Table of Contents

    Class S3ETag

    Normalises S3 ETags at the handler boundary.

    Inheritance
    object
    S3ETag
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: AjaxUploader.Providers
    Assembly: AjaxUploader.dll
    Syntax
    public static class S3ETag
    Remarks

    The browser client strips quotes, but it is not the only possible caller, and ListParts echoes ETags straight from S3 in their quoted form. Leaving both shapes in play meant a signer built against one of them could mis-compare parts or emit a quoted ETag on completion - accepted by AWS, rejected by several S3-compatible services (MinIO, R2).

    Methods

    Normalize(string)

    Strips surrounding whitespace and quotes; null/blank becomes empty.

    Declaration
    public static string Normalize(string eTag)
    Parameters
    Type Name Description
    string eTag
    Returns
    Type Description
    string
    In this article
    Back to top AjaxUploader API Reference