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 8476435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:10:43+00:00 2026-06-10T18:10:43+00:00

I have 2 files compiled by django-pipeline along with s3boto: master.css and master.js. They

  • 0

I have 2 files compiled by django-pipeline along with s3boto: master.css and master.js. They are set to “Public” in my buckets. However, when I access them, sometimes master.css is served, sometimes it errs with SignatureDoesNotMatch. The same with master.js. This doesn’t happen on Chrome. What could I be missing?

EDIT: It now happens on Chrome too.

  • 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-06-10T18:10:45+00:00Added an answer on June 10, 2026 at 6:10 pm

    Happened to me too…
    Took a few hours to find, but I figured it out eventually.
    Turns out that if the right signature is :

    ssCNsAOxLf5vA80ldAI3M0CU2%2Bw=

    Then AWS will NOT accept:

    ssCNsAOxLf5vA80ldAI3M0CU2+w=

    Where the only difference is the translation of %2B to ‘+’.

    S3BotoStorage actually yields it correctly but the encoding happens on CachedFilesMixin in the final line of the url method (return unquote(final_url)).
    To fix it, I derived a new CachedFilesMixin to undo the “damage” (I should mention that I don’t know why this unquote exists in the first place, so undoing it might cause other problems)

    class MyCachedFilesMixin(CachedFilesMixin):
    def url(self, *a, **kw):
        s = super(MyCachedFilesMixin, self).url(*a, **kw)
        if isinstance(s, unicode):
            s = s.encode('utf-8', 'ignore')
        scheme, netloc, path, qs, anchor = urlparse.urlsplit(s)
        path = urllib.quote(path, '/%')
        qs = urllib.quote_plus(qs, ':&=')
        return urlparse.urlunsplit((scheme, netloc, path, qs, anchor))
    

    Where I used the code I found here.

    Hope this helps…

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

Sidebar

Related Questions

All source files seem to have compiled fine. However, since I achieved that, I
I want to use django-pipeline to compile my LESS files into a single CSS
I have compiled my preload file on Ubuntu server (two files for x32 and
I am in a big problem ..i have compiled my c files using linux
I have a separate project with .resx files compiled into a standalone DLL assembly,
I have Less CSS working with my Django site in local development. Everything looks
I have a temporary situation where beam files compiled on one node are executed
I have a compiled .exe file (compiled with gfortran and -g option) that crashes.
I have several files which is causing a compile error, can the following be
I have an effect file in XNA4, being compiled as Shader Model 3. This

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.