Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7699143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:24:35+00:00 2026-05-31T22:24:35+00:00

Our system directs users to a relative path in this format: /some_path/?query=string The server

  • 0

Our system directs users to a relative path in this format:

/some_path/?query=string

The server then responds to said path. Is that URL in violation of the RFC that anyone can tell? (I believe RFC 3986 applies.)

Specifically, is the previous path OK, even though it doesn’t specify a filename, as in:

/some_path/file?query=string
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:24:36+00:00Added an answer on May 31, 2026 at 10:24 pm

    What you’re showing is probably OK. Here’s more detail:

    Your question is a tiny bit vague – You’re referring to a URL, but what you’re showing us isn’t technically a URL or URI. A URL or URI has to be of this syntax:

    scheme://authority/path?query#fragment
    eg: http://host.domain.ext/path/to?query=1#anchor1
    

    What you appear to be returning is a relative-ref or perhaps (depending on where you’re returning it, e.g. in an XML body) an href

    So what you appear to be returning (according to RFC 3986) is a relativeURI. the RFC shows this as:

    relativeURI    | relative-part [ "?" query ] 
    relative-part = "//" authority path-abempty
                    / path-absolute
                    / path-noscheme
                    / path-empty    
    

    Which is fine, in some cases.

    According to the HTTP RFC 2616 – some header values may be returned as a relativeURI such as Content-Location and Referer, while others (Such as Location) are defined as REQUIRING an absoluteURI. Having said that, most browsers and other clients will accept a relativeURI there.

    Yes, a path with no ‘filename’ in your case is probably fine, and is a valid relativeURI (a relative part with an added query string). You may have any valid characters as a path, including a trailing slash if desired (although this is used to represent hierarchy, so be careful).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our (asp.net) system is part of a larger system. It is launched via this
Our system uses a custom roles, and authentication system to Authenticate users. I am
Our system currently allows users to drag & drop on a JTree. When the
In our system, users are never deleted from the database. What we do is
Users of our system are able to submit un-validated contact data. For example: Forename:
Our system dynamically generates a large report by converting many HTML pages into a
Our system will run on a local network with no more than 50 clients
Our system (exotic commodity derivative trade capture and risk management) is being redeveloped shortly.
Our system will go through a platform upgrade that includes the replacement of Java
Our system complexity has risen to the point that we need to make permission

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.