Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-6585

get "you don't have permission to access" error when trying to access files with spaces in them

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-7.9.z
    • rhel-7.9.z
    • httpd
    • sst_cs_infra_services
    • ssg_core_services
    • False
    • Hide

      None

      Show
      None
    • If docs needed, set a value

      Description of problem:
      When trying to access a file that has a space in it, get "you don't have permission to access" Forbidden message even though the file name is properly formatted in the URL (with %20 in the place of spaces)

      Version-Release number of selected component (if applicable):
      2.4.6-98.el7_9.7.x86_64

      How reproducible:
      Consistently

      Steps to Reproduce:
      1.create 'file with a space.txt' in web accessible directory
      2.go to https://<sitename>/file%20with%20a%20space.txt
      3. get Forbidden error message

      Actual results:
      Forbidden: You don't have permission to access <file>

      Expected results:
      Access to file granted

      Additional info:
      Permissions have been checked on the directory on the server. Was able to copy the file to a name without spaces and had no issues getting to the file. Copied it to a different name with spaces and got forbidden error. Our customer who reported the issue said they didn't have problems prior (many of their files they use regularly have spaces in the name) and I checked and found that apache got updated last Thursday. Rolled back the upgrade to 2.4.6-98.el7_9.6 and no longer had an issue getting to the files

            luhliari@redhat.com Lubos Uhliarik
            jira-bugzilla-migration RH Bugzilla Integration
            Lubos Uhliarik Lubos Uhliarik
            rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: